Enum drivers::dmac::descriptor::BlockSize
source · #[repr(u8)]pub enum BlockSize {
Byte1,
Byte4,
Byte8,
Byte16,
}
Variants§
Implementations§
source§impl BlockSize
impl BlockSize
fn to_desc_bits_dest(&self) -> u32
fn to_desc_bits_src(&self) -> u32
Trait Implementations§
source§impl PartialEq<BlockSize> for BlockSize
impl PartialEq<BlockSize> for BlockSize
impl Copy for BlockSize
impl Eq for BlockSize
impl StructuralEq for BlockSize
impl StructuralPartialEq for BlockSize
Auto Trait Implementations§
impl RefUnwindSafe for BlockSize
impl Send for BlockSize
impl Sync for BlockSize
impl Unpin for BlockSize
impl UnwindSafe for BlockSize
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