Enum stm32_metapac::octospi::vals::SizeInBits
#[repr(u8)]pub enum SizeInBits {
_8BIT = 0,
_16BIT = 1,
_24BIT = 2,
_32BIT = 3,
}
Variants§
_8BIT = 0
8-bit alternate bytes
_16BIT = 1
16-bit alternate bytes
_24BIT = 2
24-bit alternate bytes
_32BIT = 3
32-bit alternate bytes
Implementations§
§impl SizeInBits
impl SizeInBits
pub const fn from_bits(val: u8) -> SizeInBits
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for SizeInBits
impl Clone for SizeInBits
§fn clone(&self) -> SizeInBits
fn clone(&self) -> SizeInBits
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl From<SizeInBits> for u8
impl From<SizeInBits> for u8
§fn from(val: SizeInBits) -> u8
fn from(val: SizeInBits) -> u8
Converts to this type from the input type.
§impl From<u8> for SizeInBits
impl From<u8> for SizeInBits
§fn from(val: u8) -> SizeInBits
fn from(val: u8) -> SizeInBits
Converts to this type from the input type.
§impl Ord for SizeInBits
impl Ord for SizeInBits
§impl PartialEq for SizeInBits
impl PartialEq for SizeInBits
§impl PartialOrd for SizeInBits
impl PartialOrd for SizeInBits
impl Copy for SizeInBits
impl Eq for SizeInBits
impl StructuralPartialEq for SizeInBits
Auto Trait Implementations§
impl Freeze for SizeInBits
impl RefUnwindSafe for SizeInBits
impl Send for SizeInBits
impl Sync for SizeInBits
impl Unpin for SizeInBits
impl UnwindSafe for SizeInBits
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)