pub enum MotionProfilePiece {
BeforeStart,
InitialAcceleration,
ConstantVelocity,
EndAcceleration,
Complete,
}Expand description
Where you are in following a motion profile.
Variants§
BeforeStart
You have not yet started the motion profile.
InitialAcceleration
You are changing velocity at the beginning.
ConstantVelocity
You are moving at a constant speed.
EndAcceleration
You are changing velocity at the end.
Complete
You are done with the motion profile.
Trait Implementations§
Source§impl Clone for MotionProfilePiece
impl Clone for MotionProfilePiece
Source§fn clone(&self) -> MotionProfilePiece
fn clone(&self) -> MotionProfilePiece
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MotionProfilePiece
impl Debug for MotionProfilePiece
Source§impl PartialEq for MotionProfilePiece
impl PartialEq for MotionProfilePiece
Source§impl TryFrom<MotionProfilePiece> for Unit
impl TryFrom<MotionProfilePiece> for Unit
impl Copy for MotionProfilePiece
impl Eq for MotionProfilePiece
impl StructuralPartialEq for MotionProfilePiece
Auto Trait Implementations§
impl Freeze for MotionProfilePiece
impl RefUnwindSafe for MotionProfilePiece
impl Send for MotionProfilePiece
impl Sync for MotionProfilePiece
impl Unpin for MotionProfilePiece
impl UnwindSafe for MotionProfilePiece
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