Struct FileTypeDef
pub struct FileTypeDef { /* private fields */ }
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
impl FileTypeDef
fn name(&self) -> &strReturn 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
fn clone(&self) -> Self
impl Debug for FileTypeDef
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for FileTypeDef
impl PartialEq for FileTypeDef
fn eq(&self, other: &Self) -> bool