pub enum SortTarget {
Variable(String),
Macro(String),
}Expand description
What a SortKey sorts on.
Variants§
Trait Implementations§
Source§impl Clone for SortTarget
impl Clone for SortTarget
Source§fn clone(&self) -> SortTarget
fn clone(&self) -> SortTarget
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 SortTarget
impl Debug for SortTarget
Source§impl PartialEq for SortTarget
impl PartialEq for SortTarget
impl Eq for SortTarget
impl StructuralPartialEq for SortTarget
Auto Trait Implementations§
impl Freeze for SortTarget
impl RefUnwindSafe for SortTarget
impl Send for SortTarget
impl Sync for SortTarget
impl Unpin for SortTarget
impl UnsafeUnpin for SortTarget
impl UnwindSafe for SortTarget
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