[−][src]Trait rask_engine::resources::GetStore
Required methods
fn get<U: Into<usize> + Debug + Copy>(&self, id: U) -> Result<&T, EngineError>
Retrieve a resource from the library.
fn store(&mut self, data: T, id: usize) -> Result<(), EngineError>
Store a resource to the library
Implementors
impl GetStore<Sound> for ResourceTable
[src]
fn get<U: Into<usize> + Debug + Copy>(
&self,
id: U
) -> Result<&Sound, EngineError>
[src]
&self,
id: U
) -> Result<&Sound, EngineError>
fn store(&mut self, data: Sound, id: usize) -> Result<(), EngineError>
[src]
impl GetStore<Texture> for ResourceTable
[src]
fn get<U: Into<usize> + Debug + Copy>(
&self,
id: U
) -> Result<&Texture, EngineError>
[src]
&self,
id: U
) -> Result<&Texture, EngineError>