[][src]Struct fs_tree::FsTreeBuilder

pub struct FsTreeBuilder { /* fields omitted */ }

Configure and build an FsTree iterator.

Methods

impl FsTreeBuilder[src]

pub fn new<P>(path: P) -> FsTreeBuilder where
    P: AsRef<Path>, 
[src]

Create a new FsTreeBuilder with a root directory of path.

pub fn ignore_files<P>(self, paths: &[P]) -> Self where
    P: AsRef<Path>, 
[src]

Ignore specified files in the iterator (chainable).

pub fn set_ignore_files<P>(&mut self, paths: &[P]) where
    P: AsRef<Path>, 
[src]

Ignore specified files in the iterator.

pub fn ignore_paths<P>(self, paths: &[P]) -> Self where
    P: AsRef<Path>, 
[src]

Ignore specified directory trees in the iterator (chainable).

pub fn set_ignore_paths<P>(&mut self, paths: &[P]) where
    P: AsRef<Path>, 
[src]

Ignore specified directory trees in the iterator.

pub fn max_depth(self, value: usize) -> Self[src]

Set a maximum directory depth (chainable).

pub fn set_max_depth(&mut self, value: usize)[src]

Set a maximum directory depth.

pub fn min_depth(self, value: usize) -> Self[src]

Set a minimum directory depth (chainable).

pub fn set_min_depth(&mut self, value: usize)[src]

Set a minimimum directory depth.

pub fn build(self) -> FsTree[src]

Create the FsTree iterator.

Trait Implementations

impl Default for FsTreeBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.