Enum find_folder::Search [] [src]

pub enum Search {
    Parents(ParentsDepth),
    Kids(KidsDepth),
    ParentsThenKids(ParentsDepthKidsDepth),
    KidsThenParents(KidsDepthParentsDepth),
}

The direction in which find_folder should search for the folder.

Variants

Parents(ParentsDepth)

Search recursively through parent directories with the given depth.

Kids(KidsDepth)

Search recursively through children directories with the given depth.

ParentsThenKids(ParentsDepthKidsDepth)

Search parents and then kids (same as Both).

KidsThenParents(KidsDepthParentsDepth)

Search kids and then parents.

Methods

impl Search
[src]

fn for_folder(&self, name: &str) -> Result<PathBufError>

An easy API method for finding a folder with a given name. i.e. Search::Kids(u8).for_folder("assets")

Trait Implementations

impl Eq for Search
[src]

impl PartialEq for Search
[src]

fn eq(&self, __arg_0: &Search) -> bool

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

fn ne(&self, __arg_0: &Search) -> bool

This method tests for !=.

impl Debug for Search
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Search
[src]

fn clone(&self) -> Search

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 Search
[src]