Struct ignore::types::FileTypeDef
[−]
[src]
pub struct FileTypeDef { /* fields omitted */ }
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.
Methods
impl FileTypeDef
[src]
fn name(&self) -> &str
Return the name of this file type.
fn globs(&self) -> &[String]
Return the globs used to recognize this file type.
Trait Implementations
impl Clone for FileTypeDef
[src]
fn clone(&self) -> FileTypeDef
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for FileTypeDef
[src]
impl Eq for FileTypeDef
[src]
impl PartialEq for FileTypeDef
[src]
fn eq(&self, __arg_0: &FileTypeDef) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FileTypeDef) -> bool
This method tests for !=
.