pub enum Sort {
Blanks,
Comments,
Code,
Files,
Lines,
}
Expand description
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§
source§impl<'de> Deserialize<'de> for Sort
impl<'de> Deserialize<'de> for Sort
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 Ord for Sort
impl Ord for Sort
source§impl PartialEq<Sort> for Sort
impl PartialEq<Sort> for Sort
source§impl PartialOrd<Sort> for Sort
impl PartialOrd<Sort> for Sort
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more