pub struct Calibration {
pub rising: Option<f64>,
pub falling: Option<f64>,
}Expand description
Where a joint’s reference switch trips.
Either end may be left unstated, which is what a switch that only reports one edge means.
Fields§
§rising: Option<f64>The position the switch rises at, in metres or radians.
falling: Option<f64>The position the switch falls at, in metres or radians.
Trait Implementations§
Source§impl Clone for Calibration
impl Clone for Calibration
Source§fn clone(&self) -> Calibration
fn clone(&self) -> Calibration
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 Calibration
Source§impl Debug for Calibration
impl Debug for Calibration
Source§impl Default for Calibration
impl Default for Calibration
Source§fn default() -> Calibration
fn default() -> Calibration
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Calibration
impl RefUnwindSafe for Calibration
impl Send for Calibration
impl Sync for Calibration
impl Unpin for Calibration
impl UnsafeUnpin for Calibration
impl UnwindSafe for Calibration
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