pub struct PrechargeStatus(/* private fields */);Implementations§
Source§impl PrechargeStatus
impl PrechargeStatus
Sourcepub const fn precharge_status(&self) -> u8
pub const fn precharge_status(&self) -> u8
Indicates whether Precharge is active or not
Bits: 0..8
Sourcepub const fn with_precharge_status_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_precharge_status_checked(self, value: u8) -> Result<Self, ()>
Indicates whether Precharge is active or not
Bits: 0..8
Sourcepub const fn with_precharge_status(self, value: u8) -> Self
pub const fn with_precharge_status(self, value: u8) -> Self
Indicates whether Precharge is active or not
Bits: 0..8
Sourcepub const fn set_precharge_status(&mut self, value: u8)
pub const fn set_precharge_status(&mut self, value: u8)
Indicates whether Precharge is active or not
Bits: 0..8
Trait Implementations§
Source§impl Clone for PrechargeStatus
impl Clone for PrechargeStatus
Source§fn clone(&self) -> PrechargeStatus
fn clone(&self) -> PrechargeStatus
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 PrechargeStatus
impl Debug for PrechargeStatus
Source§impl Default for PrechargeStatus
impl Default for PrechargeStatus
Source§impl From<PrechargeStatus> for u8
impl From<PrechargeStatus> for u8
Source§fn from(v: PrechargeStatus) -> Self
fn from(v: PrechargeStatus) -> Self
Converts to this type from the input type.
Source§impl From<u8> for PrechargeStatus
impl From<u8> for PrechargeStatus
Source§impl ToCanFrame for PrechargeStatus
impl ToCanFrame for PrechargeStatus
impl Copy for PrechargeStatus
Auto Trait Implementations§
impl Freeze for PrechargeStatus
impl RefUnwindSafe for PrechargeStatus
impl Send for PrechargeStatus
impl Sync for PrechargeStatus
impl Unpin for PrechargeStatus
impl UnwindSafe for PrechargeStatus
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