pub struct CfgOdoRef<'a>(/* private fields */);
Expand description
Configure odometer Contains a reference to an underlying buffer, contains accessor methods to retrieve data.
Implementations§
source§impl<'a> CfgOdoRef<'a>
impl<'a> CfgOdoRef<'a>
pub fn as_bytes(&self) -> &[u8] ⓘ
sourcepub fn flags_raw(&self) -> u8
pub fn flags_raw(&self) -> u8
Odometer COG filter flags. See OdoCogFilterFlags for details.
sourcepub fn flags(&self) -> OdoCogFilterFlags
pub fn flags(&self) -> OdoCogFilterFlags
Odometer COG filter flags. See OdoCogFilterFlags for details.
sourcepub fn odo_cfg_raw(&self) -> u8
pub fn odo_cfg_raw(&self) -> u8
sourcepub fn odo_cfg(&self) -> OdoProfile
pub fn odo_cfg(&self) -> OdoProfile
sourcepub fn cog_max_speed(&self) -> u8
pub fn cog_max_speed(&self) -> u8
sourcepub fn cog_max_pos_acc(&self) -> u8
pub fn cog_max_pos_acc(&self) -> u8
sourcepub fn vel_lp_gain(&self) -> u8
pub fn vel_lp_gain(&self) -> u8
sourcepub fn cog_lp_gain(&self) -> u8
pub fn cog_lp_gain(&self) -> u8
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CfgOdoRef<'a>
impl<'a> Send for CfgOdoRef<'a>
impl<'a> Sync for CfgOdoRef<'a>
impl<'a> Unpin for CfgOdoRef<'a>
impl<'a> UnwindSafe for CfgOdoRef<'a>
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