Skip to main content

LibrarySource

Trait LibrarySource 

Source
pub trait LibrarySource: LibrarySvgNoter {
    // Required methods
    fn catalogue_data(&self) -> &str;
    fn svg_dir(&self) -> String;
    fn bundle(&self) -> Option<Id>;
    fn default_materials_format(&self) -> Result<Version, VersionError>;
    fn svg_noter(&mut self) -> &mut dyn LibrarySvgNoter;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§