Struct bindet::FileTypeMatch
source · [−]pub struct FileTypeMatch { /* private fields */ }Expand description
Stores information about a specific FileType match result.
Implementations
sourceimpl FileTypeMatch
impl FileTypeMatch
pub fn new(file_type: FileType, full_match: bool) -> FileTypeMatch
Trait Implementations
sourceimpl Clone for FileTypeMatch
impl Clone for FileTypeMatch
sourcefn clone(&self) -> FileTypeMatch
fn clone(&self) -> FileTypeMatch
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
sourceimpl Debug for FileTypeMatch
impl Debug for FileTypeMatch
sourceimpl Hash for FileTypeMatch
impl Hash for FileTypeMatch
sourceimpl PartialEq<FileTypeMatch> for FileTypeMatch
impl PartialEq<FileTypeMatch> for FileTypeMatch
sourcefn eq(&self, other: &FileTypeMatch) -> bool
fn eq(&self, other: &FileTypeMatch) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &FileTypeMatch) -> bool
fn ne(&self, other: &FileTypeMatch) -> bool
This method tests for !=.
impl Eq for FileTypeMatch
impl StructuralEq for FileTypeMatch
impl StructuralPartialEq for FileTypeMatch
Auto Trait Implementations
impl RefUnwindSafe for FileTypeMatch
impl Send for FileTypeMatch
impl Sync for FileTypeMatch
impl Unpin for FileTypeMatch
impl UnwindSafe for FileTypeMatch
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more