pub enum MenuDirection {
Up,
Down,
Left,
Right,
}Expand description
Menu navigation direction.
Variants§
Trait Implementations§
Source§impl Clone for MenuDirection
impl Clone for MenuDirection
Source§fn clone(&self) -> MenuDirection
fn clone(&self) -> MenuDirection
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 MenuDirection
Source§impl Debug for MenuDirection
impl Debug for MenuDirection
impl Eq for MenuDirection
Source§impl PartialEq for MenuDirection
impl PartialEq for MenuDirection
Source§fn eq(&self, other: &MenuDirection) -> bool
fn eq(&self, other: &MenuDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MenuDirection
Auto Trait Implementations§
impl Freeze for MenuDirection
impl RefUnwindSafe for MenuDirection
impl Send for MenuDirection
impl Sync for MenuDirection
impl Unpin for MenuDirection
impl UnsafeUnpin for MenuDirection
impl UnwindSafe for MenuDirection
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