Struct ignore::types::FileTypeDef
source · [−]pub struct FileTypeDef { /* private fields */ }Expand description
A single file type definition.
File type definitions can be retrieved in aggregate from a file type matcher. File type definitions are also reported when its responsible for a match.
Implementations
sourceimpl FileTypeDef
impl FileTypeDef
Trait Implementations
sourceimpl Clone for FileTypeDef
impl Clone for FileTypeDef
sourcefn clone(&self) -> FileTypeDef
fn clone(&self) -> FileTypeDef
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 FileTypeDef
impl Debug for FileTypeDef
sourceimpl PartialEq<FileTypeDef> for FileTypeDef
impl PartialEq<FileTypeDef> for FileTypeDef
sourcefn eq(&self, other: &FileTypeDef) -> bool
fn eq(&self, other: &FileTypeDef) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &FileTypeDef) -> bool
fn ne(&self, other: &FileTypeDef) -> bool
This method tests for !=.
impl Eq for FileTypeDef
impl StructuralEq for FileTypeDef
impl StructuralPartialEq for FileTypeDef
Auto Trait Implementations
impl RefUnwindSafe for FileTypeDef
impl Send for FileTypeDef
impl Sync for FileTypeDef
impl Unpin for FileTypeDef
impl UnwindSafe for FileTypeDef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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