#[repr(C)]pub struct PamojaQuadratureScale {
pub counts_per_rev: f32,
pub wheel_radius: f32,
}Expand description
An encoder’s resolution and the radius of the wheel it turns with.
Fields§
§counts_per_rev: f32Steps per wheel revolution; its magnitude is used.
wheel_radius: f32The wheel radius in meters; its magnitude is used.
Trait Implementations§
Source§impl Clone for PamojaQuadratureScale
impl Clone for PamojaQuadratureScale
Source§fn clone(&self) -> PamojaQuadratureScale
fn clone(&self) -> PamojaQuadratureScale
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaQuadratureScale
Source§impl Debug for PamojaQuadratureScale
impl Debug for PamojaQuadratureScale
Source§impl PartialEq for PamojaQuadratureScale
impl PartialEq for PamojaQuadratureScale
impl StructuralPartialEq for PamojaQuadratureScale
Auto Trait Implementations§
impl Freeze for PamojaQuadratureScale
impl RefUnwindSafe for PamojaQuadratureScale
impl Send for PamojaQuadratureScale
impl Sync for PamojaQuadratureScale
impl Unpin for PamojaQuadratureScale
impl UnsafeUnpin for PamojaQuadratureScale
impl UnwindSafe for PamojaQuadratureScale
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