pub struct BmsShutdownStatusAsReportedByVcu(/* private fields */);Implementations§
Source§impl BmsShutdownStatusAsReportedByVcu
impl BmsShutdownStatusAsReportedByVcu
Sourcepub const fn bms_shutdown_as_reported_by_vcu(&self) -> u8
pub const fn bms_shutdown_as_reported_by_vcu(&self) -> u8
BMS Shutdown Status, as tracked and reported by VCU.
Bits: 0..8
Sourcepub const fn with_bms_shutdown_as_reported_by_vcu_checked(
self,
value: u8,
) -> Result<Self, ()>
pub const fn with_bms_shutdown_as_reported_by_vcu_checked( self, value: u8, ) -> Result<Self, ()>
BMS Shutdown Status, as tracked and reported by VCU.
Bits: 0..8
Sourcepub const fn with_bms_shutdown_as_reported_by_vcu(self, value: u8) -> Self
pub const fn with_bms_shutdown_as_reported_by_vcu(self, value: u8) -> Self
BMS Shutdown Status, as tracked and reported by VCU.
Bits: 0..8
Sourcepub const fn set_bms_shutdown_as_reported_by_vcu(&mut self, value: u8)
pub const fn set_bms_shutdown_as_reported_by_vcu(&mut self, value: u8)
BMS Shutdown Status, as tracked and reported by VCU.
Bits: 0..8
Trait Implementations§
Source§impl Clone for BmsShutdownStatusAsReportedByVcu
impl Clone for BmsShutdownStatusAsReportedByVcu
Source§fn clone(&self) -> BmsShutdownStatusAsReportedByVcu
fn clone(&self) -> BmsShutdownStatusAsReportedByVcu
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 From<BmsShutdownStatusAsReportedByVcu> for u8
impl From<BmsShutdownStatusAsReportedByVcu> for u8
Source§fn from(v: BmsShutdownStatusAsReportedByVcu) -> Self
fn from(v: BmsShutdownStatusAsReportedByVcu) -> Self
Converts to this type from the input type.
Source§impl From<u8> for BmsShutdownStatusAsReportedByVcu
impl From<u8> for BmsShutdownStatusAsReportedByVcu
impl Copy for BmsShutdownStatusAsReportedByVcu
Auto Trait Implementations§
impl Freeze for BmsShutdownStatusAsReportedByVcu
impl RefUnwindSafe for BmsShutdownStatusAsReportedByVcu
impl Send for BmsShutdownStatusAsReportedByVcu
impl Sync for BmsShutdownStatusAsReportedByVcu
impl Unpin for BmsShutdownStatusAsReportedByVcu
impl UnwindSafe for BmsShutdownStatusAsReportedByVcu
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