Enum tokei::Sort [] [src]

pub enum Sort {
    Blanks,
    Comments,
    Code,
    Files,
    Lines,
}

Used for sorting languages.

Variants

Sort by number blank lines.

Sort by number comments lines.

Sort by number code lines.

Sort by number files lines.

Sort by number of lines.

Trait Implementations

impl Clone for Sort
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Sort
[src]

impl Debug for Sort
[src]

Formats the value using the given formatter.

impl Eq for Sort
[src]

impl Ord for Sort
[src]

This method returns an Ordering between self and other. Read more

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the maximum of two values. Read more

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the minimum of two values. Read more

impl PartialEq for Sort
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for Sort
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more