Enum tokei::Sort
[−]
[src]
pub enum Sort { Blanks, Comments, Code, Files, Lines, }
Used for sorting languages.
Variants
Blanks
Sort by number blank lines.
Comments
Sort by number comments lines.
Code
Sort by number code lines.
Files
Sort by number files lines.
Lines
Sort by number of lines.
Trait Implementations
impl Clone for Sort
[src]
fn clone(&self) -> Sort
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Sort
[src]
impl Debug for Sort
[src]
impl Eq for Sort
[src]
impl Ord for Sort
[src]
fn cmp(&self, __arg_0: &Sort) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
ord_max_min
)Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
ord_max_min
)Compares and returns the minimum of two values. Read more
impl PartialEq for Sort
[src]
fn eq(&self, __arg_0: &Sort) -> 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
This method tests for !=
.
impl PartialOrd for Sort
[src]
fn partial_cmp(&self, __arg_0: &Sort) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more