Enum leptos_struct_table::ColumnSort
source · pub enum ColumnSort {
Ascending,
Descending,
None,
}
Expand description
Type of sorting of a column
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ColumnSort
impl Clone for ColumnSort
source§fn clone(&self) -> ColumnSort
fn clone(&self) -> ColumnSort
Returns a copy 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 ColumnSort
impl Debug for ColumnSort
source§impl PartialEq<ColumnSort> for ColumnSort
impl PartialEq<ColumnSort> for ColumnSort
source§fn eq(&self, other: &ColumnSort) -> bool
fn eq(&self, other: &ColumnSort) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ColumnSort
impl Eq for ColumnSort
impl StructuralEq for ColumnSort
impl StructuralPartialEq for ColumnSort
Auto Trait Implementations§
impl RefUnwindSafe for ColumnSort
impl Send for ColumnSort
impl Sync for ColumnSort
impl Unpin for ColumnSort
impl UnwindSafe for ColumnSort
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.