pub enum PatternTarget {
Extension(FileExtension),
Name(FileName),
}Expand description
What a FilePattern matches: every file with an extension, or the one
extensionless file name.
Variants§
Extension(FileExtension)
Files with this extension, from a *.EXT final segment.
Name(FileName)
Files with exactly this name, from a bare NAME or **/NAME pattern.
Trait Implementations§
Source§impl Clone for PatternTarget
impl Clone for PatternTarget
Source§impl Debug for PatternTarget
impl Debug for PatternTarget
impl Eq for PatternTarget
Source§impl Hash for PatternTarget
impl Hash for PatternTarget
Source§impl PartialEq for PatternTarget
impl PartialEq for PatternTarget
impl StructuralPartialEq for PatternTarget
Auto Trait Implementations§
impl Freeze for PatternTarget
impl RefUnwindSafe for PatternTarget
impl Send for PatternTarget
impl Sync for PatternTarget
impl Unpin for PatternTarget
impl UnsafeUnpin for PatternTarget
impl UnwindSafe for PatternTarget
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.