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<'de> Deserialize<'de> for ColumnSort
impl<'de> Deserialize<'de> for ColumnSort
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ColumnSort
impl PartialEq 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 ==
.source§impl Serialize for ColumnSort
impl Serialize for ColumnSort
impl Copy for ColumnSort
impl Eq 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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.