pub struct BackMsbStrain(/* private fields */);Implementations§
Source§impl BackMsbStrain
impl BackMsbStrain
Sourcepub const fn with_strain1_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_strain1_checked(self, value: u32) -> Result<Self, ()>
Strain readings
Bits: 0..32
Sourcepub const fn with_strain1(self, value: u32) -> Self
pub const fn with_strain1(self, value: u32) -> Self
Strain readings
Bits: 0..32
Sourcepub const fn set_strain1(&mut self, value: u32)
pub const fn set_strain1(&mut self, value: u32)
Strain readings
Bits: 0..32
Sourcepub const fn set_strain1_checked(&mut self, value: u32) -> Result<(), ()>
pub const fn set_strain1_checked(&mut self, value: u32) -> Result<(), ()>
Strain readings
Bits: 0..32
Sourcepub const fn with_strain2_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_strain2_checked(self, value: u32) -> Result<Self, ()>
Strain readings
Bits: 32..64
Sourcepub const fn with_strain2(self, value: u32) -> Self
pub const fn with_strain2(self, value: u32) -> Self
Strain readings
Bits: 32..64
Sourcepub const fn set_strain2(&mut self, value: u32)
pub const fn set_strain2(&mut self, value: u32)
Strain readings
Bits: 32..64
Trait Implementations§
Source§impl Clone for BackMsbStrain
impl Clone for BackMsbStrain
Source§fn clone(&self) -> BackMsbStrain
fn clone(&self) -> BackMsbStrain
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 BackMsbStrain
impl Debug for BackMsbStrain
Source§impl Default for BackMsbStrain
impl Default for BackMsbStrain
Source§impl From<BackMsbStrain> for u64
impl From<BackMsbStrain> for u64
Source§fn from(v: BackMsbStrain) -> Self
fn from(v: BackMsbStrain) -> Self
Converts to this type from the input type.
Source§impl From<u64> for BackMsbStrain
impl From<u64> for BackMsbStrain
Source§impl ToCanFrame for BackMsbStrain
impl ToCanFrame for BackMsbStrain
impl Copy for BackMsbStrain
Auto Trait Implementations§
impl Freeze for BackMsbStrain
impl RefUnwindSafe for BackMsbStrain
impl Send for BackMsbStrain
impl Sync for BackMsbStrain
impl Unpin for BackMsbStrain
impl UnwindSafe for BackMsbStrain
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