pub struct LinearCalibration { /* private fields */ }
Expand description
Calibration data best suited for linear servos.
Trait Implementations§
Source§impl CalibrationData for LinearCalibration
impl CalibrationData for LinearCalibration
const LEN: usize = 3usize
type Iterator<'a> = LinearCalibrationIter<'a> where Self: 'a
Source§fn first(&self) -> Point
fn first(&self) -> Point
The first data point in the calibration data. This might overlap with
Self::penultimate.
Source§fn second(&self) -> Point
fn second(&self) -> Point
The second data point in the calibration data. This might overlap with
Self::last.
Source§fn penultimate(&self) -> Point
fn penultimate(&self) -> Point
The penultimate (just before last) data point in the calibration data.
This might overlap with Self::first.
Source§fn last(&self) -> Point
fn last(&self) -> Point
The last data point in the calibration data. This might overlap with
Self::second.
Auto Trait Implementations§
impl Freeze for LinearCalibration
impl RefUnwindSafe for LinearCalibration
impl Send for LinearCalibration
impl Sync for LinearCalibration
impl Unpin for LinearCalibration
impl UnwindSafe for LinearCalibration
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
Source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more