Enum standard_paths::LocateOption [] [src]

pub enum LocateOption {
    LocateBoth,
    LocateFile,
    LocateDirectory,
}

Enumerates the locate option type.

Is used to call StandardPaths::locate location and StandardPaths::locate_all.

Variants

Locate both files and directories (traversing symbolic links).

Locate only files.

Locate only directories.

Trait Implementations

impl Debug for LocateOption
[src]

[src]

Formats the value using the given formatter.

impl Clone for LocateOption
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for LocateOption
[src]

[src]

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

1.0.0
[src]

This method tests for !=.