#[repr(transparent)]pub struct Mskplcadiag2(pub u16);Expand description
Mask Control PLCADIAG2 Flags
Tuple Fields§
§0: u16Implementations§
Source§impl Mskplcadiag2
impl Mskplcadiag2
Sourcepub const fn earlybcn(&self) -> Mskplcadiag2Earlybcn
pub const fn earlybcn(&self) -> Mskplcadiag2Earlybcn
Early Beacon Flag
Sourcepub const fn set_earlybcn(&mut self, val: Mskplcadiag2Earlybcn)
pub const fn set_earlybcn(&mut self, val: Mskplcadiag2Earlybcn)
Early Beacon Flag
Sourcepub const fn latebcn(&self) -> Mskplcadiag2Latebcn
pub const fn latebcn(&self) -> Mskplcadiag2Latebcn
Late Beacon
Sourcepub const fn set_latebcn(&mut self, val: Mskplcadiag2Latebcn)
pub const fn set_latebcn(&mut self, val: Mskplcadiag2Latebcn)
Late Beacon
Sourcepub const fn norxbcn(&self) -> Mskplcadiag2Norxbcn
pub const fn norxbcn(&self) -> Mskplcadiag2Norxbcn
NO RX Beacon
Sourcepub const fn set_norxbcn(&mut self, val: Mskplcadiag2Norxbcn)
pub const fn set_norxbcn(&mut self, val: Mskplcadiag2Norxbcn)
NO RX Beacon
Sourcepub const fn undefstate(&self) -> Mskplcadiag2Undefstate
pub const fn undefstate(&self) -> Mskplcadiag2Undefstate
UNDEF State
Sourcepub const fn set_undefstate(&mut self, val: Mskplcadiag2Undefstate)
pub const fn set_undefstate(&mut self, val: Mskplcadiag2Undefstate)
UNDEF State
Trait Implementations§
Source§impl Clone for Mskplcadiag2
impl Clone for Mskplcadiag2
Source§fn clone(&self) -> Mskplcadiag2
fn clone(&self) -> Mskplcadiag2
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 Debug for Mskplcadiag2
impl Debug for Mskplcadiag2
Source§impl Default for Mskplcadiag2
impl Default for Mskplcadiag2
Source§fn default() -> Mskplcadiag2
fn default() -> Mskplcadiag2
Returns the “default value” for a type. Read more
Source§impl PartialEq for Mskplcadiag2
impl PartialEq for Mskplcadiag2
impl Copy for Mskplcadiag2
impl Eq for Mskplcadiag2
impl StructuralPartialEq for Mskplcadiag2
Auto Trait Implementations§
impl Freeze for Mskplcadiag2
impl RefUnwindSafe for Mskplcadiag2
impl Send for Mskplcadiag2
impl Sync for Mskplcadiag2
impl Unpin for Mskplcadiag2
impl UnwindSafe for Mskplcadiag2
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