pub struct FrontShockpot(/* private fields */);Implementations§
Source§impl FrontShockpot
impl FrontShockpot
Sourcepub const fn with_shock1_checked(self, value: f32) -> Result<Self, ()>
pub const fn with_shock1_checked(self, value: f32) -> Result<Self, ()>
Shuck deflection
Units: in
Bits: 0..32
Sourcepub const fn with_shock1(self, value: f32) -> Self
pub const fn with_shock1(self, value: f32) -> Self
Shuck deflection
Units: in
Bits: 0..32
Sourcepub const fn set_shock1(&mut self, value: f32)
pub const fn set_shock1(&mut self, value: f32)
Shuck deflection
Units: in
Bits: 0..32
Sourcepub const fn set_shock1_checked(&mut self, value: f32) -> Result<(), ()>
pub const fn set_shock1_checked(&mut self, value: f32) -> Result<(), ()>
Shuck deflection
Units: in
Bits: 0..32
Sourcepub const fn shock1_raw(&self) -> u16
pub const fn shock1_raw(&self) -> u16
Raw shock value
Bits: 32..48
Sourcepub const fn with_shock1_raw_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_shock1_raw_checked(self, value: u16) -> Result<Self, ()>
Raw shock value
Bits: 32..48
Sourcepub const fn with_shock1_raw(self, value: u16) -> Self
pub const fn with_shock1_raw(self, value: u16) -> Self
Raw shock value
Bits: 32..48
Sourcepub const fn set_shock1_raw(&mut self, value: u16)
pub const fn set_shock1_raw(&mut self, value: u16)
Raw shock value
Bits: 32..48
Trait Implementations§
Source§impl Clone for FrontShockpot
impl Clone for FrontShockpot
Source§fn clone(&self) -> FrontShockpot
fn clone(&self) -> FrontShockpot
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 FrontShockpot
impl Debug for FrontShockpot
Source§impl Default for FrontShockpot
impl Default for FrontShockpot
Source§impl From<FrontShockpot> for u64
impl From<FrontShockpot> for u64
Source§fn from(v: FrontShockpot) -> Self
fn from(v: FrontShockpot) -> Self
Converts to this type from the input type.
Source§impl From<u64> for FrontShockpot
impl From<u64> for FrontShockpot
Source§impl ToCanFrame for FrontShockpot
impl ToCanFrame for FrontShockpot
impl Copy for FrontShockpot
Auto Trait Implementations§
impl Freeze for FrontShockpot
impl RefUnwindSafe for FrontShockpot
impl Send for FrontShockpot
impl Sync for FrontShockpot
impl Unpin for FrontShockpot
impl UnwindSafe for FrontShockpot
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