pub struct OtgLimits {
pub max_velocity: f64,
pub max_acceleration: f64,
pub max_jerk: f64,
}Expand description
The per-axis limits of an Otg: all three must be finite and positive.
Fields§
§max_velocity: f64Maximum absolute velocity, in the position unit per second.
max_acceleration: f64Maximum absolute acceleration, per second squared.
max_jerk: f64Maximum absolute jerk, per second cubed.
Implementations§
Trait Implementations§
impl Copy for OtgLimits
impl StructuralPartialEq for OtgLimits
Auto Trait Implementations§
impl Freeze for OtgLimits
impl RefUnwindSafe for OtgLimits
impl Send for OtgLimits
impl Sync for OtgLimits
impl Unpin for OtgLimits
impl UnsafeUnpin for OtgLimits
impl UnwindSafe for OtgLimits
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.