pub enum ReorderDirection {
Up,
Down,
}Expand description
Direction for try_reorder. Mirrors the UI message variant.
Variants§
Trait Implementations§
Source§impl Clone for ReorderDirection
impl Clone for ReorderDirection
Source§fn clone(&self) -> ReorderDirection
fn clone(&self) -> ReorderDirection
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 moreSource§impl Debug for ReorderDirection
impl Debug for ReorderDirection
Source§impl PartialEq for ReorderDirection
impl PartialEq for ReorderDirection
Source§fn eq(&self, other: &ReorderDirection) -> bool
fn eq(&self, other: &ReorderDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ReorderDirection
impl Eq for ReorderDirection
impl StructuralPartialEq for ReorderDirection
Auto Trait Implementations§
impl Freeze for ReorderDirection
impl RefUnwindSafe for ReorderDirection
impl Send for ReorderDirection
impl Sync for ReorderDirection
impl Unpin for ReorderDirection
impl UnsafeUnpin for ReorderDirection
impl UnwindSafe for ReorderDirection
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§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.