#[repr(transparent)]pub struct Otgstat(pub u8);Expand description
OTG Status
Tuple Fields§
§0: u8Implementations§
Source§impl Otgstat
impl Otgstat
Sourcepub const fn linestatestable(&self) -> Linestatestable
pub const fn linestatestable(&self) -> Linestatestable
Line State Stable
Sourcepub const fn set_linestatestable(&mut self, val: Linestatestable)
pub const fn set_linestatestable(&mut self, val: Linestatestable)
Line State Stable
Sourcepub const fn set_onemsec(&mut self, val: bool)
pub const fn set_onemsec(&mut self, val: bool)
Reserved for 1 ms count
Trait Implementations§
impl Copy for Otgstat
impl Eq for Otgstat
impl StructuralPartialEq for Otgstat
Auto Trait Implementations§
impl Freeze for Otgstat
impl RefUnwindSafe for Otgstat
impl Send for Otgstat
impl Sync for Otgstat
impl Unpin for Otgstat
impl UnwindSafe for Otgstat
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