Struct broot::path::SpecialPath
source · [−]pub struct SpecialPath {
pub pattern: Pattern,
pub handling: SpecialHandling,
}
Fields
pattern: Pattern
handling: SpecialHandling
Implementations
sourceimpl SpecialPath
impl SpecialPath
pub fn new(glob: Glob, handling: SpecialHandling) -> Self
pub fn can_have_matches_in(&self, path: &Path) -> bool
Trait Implementations
sourceimpl Clone for SpecialPath
impl Clone for SpecialPath
sourcefn clone(&self) -> SpecialPath
fn clone(&self) -> SpecialPath
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for SpecialPath
impl Send for SpecialPath
impl Sync for SpecialPath
impl Unpin for SpecialPath
impl UnwindSafe for SpecialPath
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more