pub trait FormatInfoOptionExt {
// Required method
fn get_primary_extension(&self) -> Option<&'static str>;
}Expand description
Extension trait allowing .get_primary_extension() on Option<&'static FormatInfo>.
Required Methods§
Sourcefn get_primary_extension(&self) -> Option<&'static str>
fn get_primary_extension(&self) -> Option<&'static str>
Returns the primary file extension if format info is present.