[][src]Struct starship::context::ScanDir

pub struct ScanDir<'a> { /* fields omitted */ }

Methods

impl<'a> ScanDir<'a>[src]

pub fn set_files(self, files: &'a [&'a str]) -> Self[src]

pub fn set_extensions(self, extensions: &'a [&'a str]) -> Self[src]

pub fn set_folders(self, folders: &'a [&'a str]) -> Self[src]

pub fn scan(&mut self) -> bool[src]

based on the current Pathbuf check to see if any of this criteria match or exist and returning a boolean

Auto Trait Implementations

impl<'a> Unpin for ScanDir<'a>

impl<'a> Sync for ScanDir<'a>

impl<'a> Send for ScanDir<'a>

impl<'a> RefUnwindSafe for ScanDir<'a>

impl<'a> UnwindSafe for ScanDir<'a>

Blanket Implementations

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self