#[repr(transparent)]pub struct TcdNbytesMloffyes(pub u32);Expand description
TCD Transfer Size with Minor Loop Offsets.
Tuple Fields§
§0: u32Implementations§
Source§impl TcdNbytesMloffyes
impl TcdNbytesMloffyes
Sourcepub const fn set_nbytes(&mut self, val: u16)
pub const fn set_nbytes(&mut self, val: u16)
Number of Bytes To Transfer Per Service Request.
Sourcepub const fn dmloe(&self) -> bool
pub const fn dmloe(&self) -> bool
Destination Minor Loop Offset Enable. Raw bit values: false (0) = OffsetNotApplied: Minor loop offset not applied to DADDR.; true (1) = OffsetApplied: Minor loop offset applied to DADDR.
Sourcepub const fn set_dmloe(&mut self, val: bool)
pub const fn set_dmloe(&mut self, val: bool)
Destination Minor Loop Offset Enable. Raw bit values: false (0) = OffsetNotApplied: Minor loop offset not applied to DADDR.; true (1) = OffsetApplied: Minor loop offset applied to DADDR.
Trait Implementations§
Source§impl Clone for TcdNbytesMloffyes
impl Clone for TcdNbytesMloffyes
Source§fn clone(&self) -> TcdNbytesMloffyes
fn clone(&self) -> TcdNbytesMloffyes
Returns a duplicate 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 moreSource§impl Default for TcdNbytesMloffyes
impl Default for TcdNbytesMloffyes
Source§fn default() -> TcdNbytesMloffyes
fn default() -> TcdNbytesMloffyes
Returns the “default value” for a type. Read more
Source§impl PartialEq for TcdNbytesMloffyes
impl PartialEq for TcdNbytesMloffyes
impl Copy for TcdNbytesMloffyes
impl Eq for TcdNbytesMloffyes
impl StructuralPartialEq for TcdNbytesMloffyes
Auto Trait Implementations§
impl Freeze for TcdNbytesMloffyes
impl RefUnwindSafe for TcdNbytesMloffyes
impl Send for TcdNbytesMloffyes
impl Sync for TcdNbytesMloffyes
impl Unpin for TcdNbytesMloffyes
impl UnwindSafe for TcdNbytesMloffyes
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