Struct Battchrgstatus
#[repr(transparent)]pub struct Battchrgstatus(pub u32);Expand description
Battery charger input signals.
Tuple Fields§
§0: u32Implementations§
§impl Battchrgstatus
impl Battchrgstatus
pub const fn chgdet(&self) -> bool
pub const fn set_chgdet(&mut self, val: bool)
pub const fn fsvplus(&self) -> bool
pub const fn set_fsvplus(&mut self, val: bool)
pub const fn fsvminus(&self) -> bool
pub const fn set_fsvminus(&mut self, val: bool)
Trait Implementations§
§impl Clone for Battchrgstatus
impl Clone for Battchrgstatus
§fn clone(&self) -> Battchrgstatus
fn clone(&self) -> Battchrgstatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Battchrgstatus
§impl Default for Battchrgstatus
impl Default for Battchrgstatus
§fn default() -> Battchrgstatus
fn default() -> Battchrgstatus
Returns the “default value” for a type. Read more
impl Eq for Battchrgstatus
§impl PartialEq for Battchrgstatus
impl PartialEq for Battchrgstatus
impl StructuralPartialEq for Battchrgstatus
Auto Trait Implementations§
impl Forget for Battchrgstatus
impl Freeze for Battchrgstatus
impl Move for Battchrgstatus
impl RefUnwindSafe for Battchrgstatus
impl Send for Battchrgstatus
impl Sync for Battchrgstatus
impl Unpin for Battchrgstatus
impl UnsafeUnpin for Battchrgstatus
impl UnwindSafe for Battchrgstatus
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