pub struct DtiMotorTempAsReportedByVcu(/* private fields */);Implementations§
Source§impl DtiMotorTempAsReportedByVcu
impl DtiMotorTempAsReportedByVcu
Sourcepub const fn temp(&self) -> u16
pub const fn temp(&self) -> u16
DTI Motor Temp
This value is echoed by VCU from the DTI’s temperature/faults message.
Units: C
Bits: 0..16
Sourcepub const fn with_temp_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_temp_checked(self, value: u16) -> Result<Self, ()>
DTI Motor Temp
This value is echoed by VCU from the DTI’s temperature/faults message.
Units: C
Bits: 0..16
Sourcepub const fn with_temp(self, value: u16) -> Self
pub const fn with_temp(self, value: u16) -> Self
DTI Motor Temp
This value is echoed by VCU from the DTI’s temperature/faults message.
Units: C
Bits: 0..16
Trait Implementations§
Source§impl Clone for DtiMotorTempAsReportedByVcu
impl Clone for DtiMotorTempAsReportedByVcu
Source§fn clone(&self) -> DtiMotorTempAsReportedByVcu
fn clone(&self) -> DtiMotorTempAsReportedByVcu
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 DtiMotorTempAsReportedByVcu
impl Debug for DtiMotorTempAsReportedByVcu
Source§impl From<DtiMotorTempAsReportedByVcu> for u16
impl From<DtiMotorTempAsReportedByVcu> for u16
Source§fn from(v: DtiMotorTempAsReportedByVcu) -> Self
fn from(v: DtiMotorTempAsReportedByVcu) -> Self
Converts to this type from the input type.
Source§impl From<u16> for DtiMotorTempAsReportedByVcu
impl From<u16> for DtiMotorTempAsReportedByVcu
impl Copy for DtiMotorTempAsReportedByVcu
Auto Trait Implementations§
impl Freeze for DtiMotorTempAsReportedByVcu
impl RefUnwindSafe for DtiMotorTempAsReportedByVcu
impl Send for DtiMotorTempAsReportedByVcu
impl Sync for DtiMotorTempAsReportedByVcu
impl Unpin for DtiMotorTempAsReportedByVcu
impl UnwindSafe for DtiMotorTempAsReportedByVcu
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