#[repr(transparent)]pub struct WmbCs2(pub u32);Expand description
Wake-Up Message Buffer.
Tuple Fields§
§0: u32Implementations§
Source§impl WmbCs2
impl WmbCs2
Sourcepub const fn rtr(&self) -> bool
pub const fn rtr(&self) -> bool
Remote Transmission Request. Raw bit values: false (0) = NotRemote: Data.; true (1) = Remote: Remote.
Sourcepub const fn set_rtr(&mut self, val: bool)
pub const fn set_rtr(&mut self, val: bool)
Remote Transmission Request. Raw bit values: false (0) = NotRemote: Data.; true (1) = Remote: Remote.
Sourcepub const fn ide(&self) -> bool
pub const fn ide(&self) -> bool
ID Extended Bit. Raw bit values: false (0) = Standard: Standard.; true (1) = Extended: Extended.
Sourcepub const fn set_ide(&mut self, val: bool)
pub const fn set_ide(&mut self, val: bool)
ID Extended Bit. Raw bit values: false (0) = Standard: Standard.; true (1) = Extended: Extended.
Trait Implementations§
impl Copy for WmbCs2
impl Eq for WmbCs2
impl StructuralPartialEq for WmbCs2
Auto Trait Implementations§
impl Freeze for WmbCs2
impl RefUnwindSafe for WmbCs2
impl Send for WmbCs2
impl Sync for WmbCs2
impl Unpin for WmbCs2
impl UnwindSafe for WmbCs2
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