FileType

Trait FileType 

Source
pub trait FileType {
    // Required method
    fn filetype(&self) -> Option<&'static str>;
}

Required Methods§

Source

fn filetype(&self) -> Option<&'static str>

Implementations on Foreign Types§

Source§

impl FileType for &str

Source§

fn filetype(&self) -> Option<&'static str>

Source§

impl FileType for &Path

Source§

fn filetype(&self) -> Option<&'static str>

Source§

impl FileType for String

Source§

fn filetype(&self) -> Option<&'static str>

Source§

impl FileType for PathBuf

Source§

fn filetype(&self) -> Option<&'static str>

Source§

impl FileType for Buffer

Source§

fn filetype(&self) -> Option<&'static str>

Implementors§