[−][src]Struct fs_tree::FsTreeBuilder
Configure and build an FsTree iterator.
Methods
impl FsTreeBuilder[src]
pub fn new<P>(path: P) -> FsTreeBuilder where
P: AsRef<Path>, [src]
P: AsRef<Path>,
Create a new FsTreeBuilder with a root directory of path.
pub fn ignore_files<P>(self, paths: &[P]) -> Self where
P: AsRef<Path>, [src]
P: AsRef<Path>,
Ignore specified files in the iterator (chainable).
pub fn set_ignore_files<P>(&mut self, paths: &[P]) where
P: AsRef<Path>, [src]
P: AsRef<Path>,
Ignore specified files in the iterator.
pub fn ignore_paths<P>(self, paths: &[P]) -> Self where
P: AsRef<Path>, [src]
P: AsRef<Path>,
Ignore specified directory trees in the iterator (chainable).
pub fn set_ignore_paths<P>(&mut self, paths: &[P]) where
P: AsRef<Path>, [src]
P: AsRef<Path>,
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]
fn default() -> FsTreeBuilder[src]
Auto Trait Implementations
impl RefUnwindSafe for FsTreeBuilder
impl Send for FsTreeBuilder
impl Sync for FsTreeBuilder
impl Unpin for FsTreeBuilder
impl UnwindSafe for FsTreeBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,