pub struct Importers {
pub formats: Formats,
/* private fields */
}Expand description
The kinds import tries and the formats it reads them with.
Fields§
§formats: FormatsThe registry: the engine’s standard formats, and the game’s.
Implementations§
Source§impl Importers
impl Importers
Sourcepub fn standard() -> Self
pub fn standard() -> Self
The engine’s standard kinds over its standard formats
(Formats::standard).
Sourcepub fn kind<K: AssetKind + Debug>(self, summary: fn(&K) -> String) -> Self
pub fn kind<K: AssetKind + Debug>(self, summary: fn(&K) -> String) -> Self
These importers, trying kind K too, summed up by summary. Its
formats are the registry’s (formats).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Importers
impl !UnwindSafe for Importers
impl Freeze for Importers
impl Send for Importers
impl Sync for Importers
impl Unpin for Importers
impl UnsafeUnpin for Importers
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more