Trait veloren_common_assets::CacheCombined

source ·
pub trait CacheCombined<'a> {
    // Required method
    fn load_and_combine<A: Compound + Concatenate>(
        self,
        id: &str,
    ) -> Result<&'a Handle<A>, Error>;
}
Expand description

Extension to AnyCache to combine Ron files from filesystem and plugins

Required Methods§

source

fn load_and_combine<A: Compound + Concatenate>( self, id: &str, ) -> Result<&'a Handle<A>, Error>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a> CacheCombined<'a> for AnyCache<'a>