FileIoInterface

Trait FileIoInterface 

Source
pub trait FileIoInterface {
    // Required method
    fn id(&self) -> Id;

    // Provided method
    fn file_extensions(&self) -> Vec<Id>  { ... }
}
Expand description

The FileIoInterface defines an interface for file import and export.

Required Methods§

Source

fn id(&self) -> Id

Return the id for this IO interface.

Provided Methods§

Source

fn file_extensions(&self) -> Vec<Id>

Return file extensions this IO interface supports.

Implementors§