#[repr(transparent)]pub struct Fetchlen(pub u32);Expand description
Fetch DMA Length (only used in direct mode)
Tuple Fields§
§0: u32Implementations§
Source§impl Fetchlen
impl Fetchlen
Sourcepub const fn set_fetchlen(&mut self, val: u32)
pub const fn set_fetchlen(&mut self, val: u32)
Length of data block
Sourcepub const fn fetchcstaddr(&self) -> bool
pub const fn fetchcstaddr(&self) -> bool
Constant address
Sourcepub const fn set_fetchcstaddr(&mut self, val: bool)
pub const fn set_fetchcstaddr(&mut self, val: bool)
Constant address
Sourcepub const fn fetchrealign(&self) -> bool
pub const fn fetchrealign(&self) -> bool
Realign length
Sourcepub const fn set_fetchrealign(&mut self, val: bool)
pub const fn set_fetchrealign(&mut self, val: bool)
Realign length
pub const fn fetchzpadding(&self) -> bool
pub const fn set_fetchzpadding(&mut self, val: bool)
Trait Implementations§
impl Copy for Fetchlen
impl Eq for Fetchlen
impl StructuralPartialEq for Fetchlen
Auto Trait Implementations§
impl Freeze for Fetchlen
impl RefUnwindSafe for Fetchlen
impl Send for Fetchlen
impl Sync for Fetchlen
impl Unpin for Fetchlen
impl UnwindSafe for Fetchlen
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)