pub enum StepDirection {
None,
Forward,
Backward,
}Expand description
Direction of the last step action
Variants§
Trait Implementations§
Source§impl Clone for StepDirection
impl Clone for StepDirection
Source§fn clone(&self) -> StepDirection
fn clone(&self) -> StepDirection
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 StepDirection
impl Debug for StepDirection
Source§impl Default for StepDirection
impl Default for StepDirection
Source§fn default() -> StepDirection
fn default() -> StepDirection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StepDirection
impl<'de> Deserialize<'de> for StepDirection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StepDirection
impl PartialEq for StepDirection
Source§impl Serialize for StepDirection
impl Serialize for StepDirection
impl Copy for StepDirection
impl Eq for StepDirection
impl StructuralPartialEq for StepDirection
Auto Trait Implementations§
impl Freeze for StepDirection
impl RefUnwindSafe for StepDirection
impl Send for StepDirection
impl Sync for StepDirection
impl Unpin for StepDirection
impl UnsafeUnpin for StepDirection
impl UnwindSafe for StepDirection
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