FileFormat

Trait FileFormat 

Source
pub trait FileFormat {
    // Required method
    fn extension(&self) -> &str;
}
Expand description

Trait for file types

Required Methods§

Source

fn extension(&self) -> &str

Get the file extension (“.xyz”) of the file format

Implementors§