pub struct FileFilterBuilder { /* private fields */ }Implementations§
Source§impl FileFilterBuilder
impl FileFilterBuilder
pub fn name(self, name: impl Into<String>) -> FileFilterBuilder
pub fn accept(self, accept: impl Into<String>) -> FileFilterBuilder
pub fn accepts<I, S>(self, accepts: I) -> FileFilterBuilder
pub fn build(self) -> FileFilter
Trait Implementations§
Source§impl Clone for FileFilterBuilder
impl Clone for FileFilterBuilder
Source§fn clone(&self) -> FileFilterBuilder
fn clone(&self) -> FileFilterBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for FileFilterBuilder
impl Default for FileFilterBuilder
Source§fn default() -> FileFilterBuilder
fn default() -> FileFilterBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileFilterBuilder
impl RefUnwindSafe for FileFilterBuilder
impl Send for FileFilterBuilder
impl Sync for FileFilterBuilder
impl Unpin for FileFilterBuilder
impl UnwindSafe for FileFilterBuilder
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