Enum sofa::types::SortDirection [−][src]
pub enum SortDirection { Desc, Asc, }
Sort direction abstraction
Variants
Desc
Asc
Trait Implementations
impl Eq for SortDirection
[src]
impl Eq for SortDirection
impl PartialEq for SortDirection
[src]
impl PartialEq for SortDirection
fn eq(&self, other: &SortDirection) -> bool
[src]
fn eq(&self, other: &SortDirection) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Debug for SortDirection
[src]
impl Debug for SortDirection
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for SortDirection
[src]
impl Clone for SortDirection
fn clone(&self) -> SortDirection
[src]
fn clone(&self) -> SortDirection
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl From<String> for SortDirection
[src]
impl From<String> for SortDirection
fn from(original: String) -> SortDirection
[src]
fn from(original: String) -> SortDirection
Performs the conversion.
Auto Trait Implementations
impl Send for SortDirection
impl Send for SortDirection
impl Sync for SortDirection
impl Sync for SortDirection