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
[src]
Return the name of this file type.
fn globs(&self) -> &[String]
[src]
Return the globs used to recognize this file type.
Trait Implementations
impl Clone for FileTypeDef
[src]
fn clone(&self) -> FileTypeDef
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
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
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FileTypeDef) -> bool
[src]
This method tests for !=
.