pub enum FilePattern {
Extension(String),
Substring(String),
}
Expand description
A pattern that can be used to filter the displayed files.
Variants§
Extension(String)
Filter by file extension. This filter is case insensitive.
Substring(String)
Filter by substring. This filter is case sensitive.
Auto Trait Implementations§
impl Freeze for FilePattern
impl RefUnwindSafe for FilePattern
impl Send for FilePattern
impl Sync for FilePattern
impl Unpin for FilePattern
impl UnwindSafe for FilePattern
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