pub enum InputPolicy {
Up,
Down,
Left,
Right,
Select,
}Expand description
Opinionated policy for interpreting input for convenience
Variants§
Trait Implementations§
Source§impl Clone for InputPolicy
impl Clone for InputPolicy
Source§fn clone(&self) -> InputPolicy
fn clone(&self) -> InputPolicy
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 InputPolicy
impl Debug for InputPolicy
Source§impl Hash for InputPolicy
impl Hash for InputPolicy
Source§impl Ord for InputPolicy
impl Ord for InputPolicy
Source§fn cmp(&self, other: &InputPolicy) -> Ordering
fn cmp(&self, other: &InputPolicy) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InputPolicy
impl PartialEq for InputPolicy
Source§impl PartialOrd for InputPolicy
impl PartialOrd for InputPolicy
impl Copy for InputPolicy
impl Eq for InputPolicy
impl StructuralPartialEq for InputPolicy
Auto Trait Implementations§
impl Freeze for InputPolicy
impl RefUnwindSafe for InputPolicy
impl Send for InputPolicy
impl Sync for InputPolicy
impl Unpin for InputPolicy
impl UnwindSafe for InputPolicy
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