#[repr(transparent)]pub struct Ctrl(pub u8);Tuple Fields§
§0: u8Implementations§
Source§impl Ctrl
impl Ctrl
pub const fn ewmen(&self) -> bool
pub const fn set_ewmen(&mut self, val: bool)
pub const fn inen(&self) -> bool
pub const fn set_inen(&mut self, val: bool)
Trait Implementations§
impl Copy for Ctrl
impl Eq for Ctrl
impl StructuralPartialEq for Ctrl
Auto Trait Implementations§
impl Freeze for Ctrl
impl RefUnwindSafe for Ctrl
impl Send for Ctrl
impl Sync for Ctrl
impl Unpin for Ctrl
impl UnwindSafe for Ctrl
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