pub struct FrontMsbStrain(/* private fields */);Implementations§
Source§impl FrontMsbStrain
impl FrontMsbStrain
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 FrontMsbStrain
impl Clone for FrontMsbStrain
Source§fn clone(&self) -> FrontMsbStrain
fn clone(&self) -> FrontMsbStrain
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 FrontMsbStrain
impl Debug for FrontMsbStrain
Source§impl Default for FrontMsbStrain
impl Default for FrontMsbStrain
Source§impl From<FrontMsbStrain> for u64
impl From<FrontMsbStrain> for u64
Source§fn from(v: FrontMsbStrain) -> Self
fn from(v: FrontMsbStrain) -> Self
Converts to this type from the input type.
Source§impl From<u64> for FrontMsbStrain
impl From<u64> for FrontMsbStrain
Source§impl ToCanFrame for FrontMsbStrain
impl ToCanFrame for FrontMsbStrain
impl Copy for FrontMsbStrain
Auto Trait Implementations§
impl Freeze for FrontMsbStrain
impl RefUnwindSafe for FrontMsbStrain
impl Send for FrontMsbStrain
impl Sync for FrontMsbStrain
impl Unpin for FrontMsbStrain
impl UnwindSafe for FrontMsbStrain
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