Struct fsort::File [] [src]

pub struct File<C: Criterion> {
    pub path: PathBuf,
    // some fields omitted
}

A file which could be sorted according to a specific criterion.

Fields

The path to the file in the local filesystem.

Methods

impl<C: Criterion> File<C>
[src]

Creates a new sortable file from a path.

Trait Implementations

impl<C: Debug + Criterion> Debug for File<C>
[src]

Formats the value using the given formatter.

impl<C: Eq + Criterion> Eq for File<C>
[src]

impl<C: PartialEq + Criterion> PartialEq for File<C>
[src]

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

This method tests for !=.

impl<C: Criterion> Ord for File<C>
[src]

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

impl<C: Criterion> PartialOrd for File<C>
[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