pub enum DirectionalAction {
Left,
Right,
Up,
Down,
}Variants§
Trait Implementations§
Source§impl Clone for DirectionalAction
impl Clone for DirectionalAction
Source§fn clone(&self) -> DirectionalAction
fn clone(&self) -> DirectionalAction
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 DirectionalAction
Source§impl Debug for DirectionalAction
impl Debug for DirectionalAction
impl Eq for DirectionalAction
Source§impl PartialEq for DirectionalAction
impl PartialEq for DirectionalAction
Source§fn eq(&self, other: &DirectionalAction) -> bool
fn eq(&self, other: &DirectionalAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DirectionalAction
Auto Trait Implementations§
impl Freeze for DirectionalAction
impl RefUnwindSafe for DirectionalAction
impl Send for DirectionalAction
impl Sync for DirectionalAction
impl Unpin for DirectionalAction
impl UnsafeUnpin for DirectionalAction
impl UnwindSafe for DirectionalAction
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.