Skip to main content

file_format_declared

Function file_format_declared 

Source
pub fn file_format_declared(path: &Path) -> Option<Format>
Expand description

The format path DECLARES — by extension or its package scope’s "type" — or None when only its syntax can tell.