[][src]Struct skeletal_animation::manager::AssetManager

pub struct AssetManager<T: Transform> {
    pub animation_clips: HashMap<String, Rc<AnimationClip<T>>>,
    pub controller_defs: HashMap<String, AnimationControllerDef>,
}

Asset manager - manages memory for loaded assets...?

Fields

animation_clips: HashMap<String, Rc<AnimationClip<T>>>controller_defs: HashMap<String, AnimationControllerDef>

Implementations

impl<T: Transform> AssetManager<T>[src]

pub fn new() -> AssetManager<T>[src]

pub fn load_assets(&mut self, path: &str) -> Result<(), InvalidAssetPathError>[src]

pub fn load_def_from_path<D>(path: &str) -> Result<D, &'static str> where
    D: Decodable
[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for AssetManager<T>

impl<T> !Send for AssetManager<T>

impl<T> !Sync for AssetManager<T>

impl<T> Unpin for AssetManager<T>

impl<T> UnwindSafe for AssetManager<T> where
    T: RefUnwindSafe

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> From<T> for T[src]

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

impl<T> SetParameter for T

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.