[][src]Struct three_d::io::Loader

pub struct Loader {}

Implementations

impl Loader[src]

pub fn load<F, P: AsRef<Path>>(paths: &[P], on_done: F) where
    F: 'static + FnOnce(&mut Loaded), 
[src]

pub fn load_with_progress<F, G, P>(
    paths: &[P],
    progress_callback: G,
    on_done: F
) where
    G: 'static + Fn(f32),
    F: 'static + FnOnce(&mut Loaded),
    P: AsRef<Path>, 
[src]

pub fn get<P: AsRef<Path>>(loaded: &Loaded, path: P) -> Result<&[u8], Error>[src]

pub fn get_image<P: AsRef<Path>>(
    loaded: &Loaded,
    path: P
) -> Result<Image, Error>
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.