Struct Ucpdr
#[repr(transparent)]pub struct Ucpdr(pub u32);Expand description
PWR USB Type-C and power delivery register.
Tuple Fields§
§0: u32Implementations§
§impl Ucpdr
impl Ucpdr
pub const fn ucpd_dbdis(&self) -> bool
pub const fn ucpd_dbdis(&self) -> bool
UCPDdeadbatterydisable.
pub const fn set_ucpd_dbdis(&mut self, val: bool)
pub const fn set_ucpd_dbdis(&mut self, val: bool)
UCPDdeadbatterydisable.
pub const fn set_ucpd_stby(&mut self, val: bool)
pub const fn set_ucpd_stby(&mut self, val: bool)
UCPDStandbymode.
Trait Implementations§
impl Copy for Ucpdr
impl Eq for Ucpdr
impl StructuralPartialEq for Ucpdr
Auto Trait Implementations§
impl Freeze for Ucpdr
impl RefUnwindSafe for Ucpdr
impl Send for Ucpdr
impl Sync for Ucpdr
impl Unpin for Ucpdr
impl UnsafeUnpin for Ucpdr
impl UnwindSafe for Ucpdr
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