Trait rinecs::ResourcesExt[][src]

pub trait ResourcesExt {
    fn resource<T: 'static + Send>(&self) -> Option<ReadGuardRef<'_, T>>;
fn resource_mut<T: 'static + Send>(&self) -> Option<WriteGuardRef<'_, T>>;
fn resource_as_trait<T: 'static + Send + ?Sized>(
        &self
    ) -> Option<ReadGuardRef<'_, T>>;
fn resource_as_trait_mut<T: 'static + Send + ?Sized>(
        &self
    ) -> Option<WriteGuardRef<'_, T>>; }

Required methods

fn resource<T: 'static + Send>(&self) -> Option<ReadGuardRef<'_, T>>[src]

fn resource_mut<T: 'static + Send>(&self) -> Option<WriteGuardRef<'_, T>>[src]

fn resource_as_trait<T: 'static + Send + ?Sized>(
    &self
) -> Option<ReadGuardRef<'_, T>>
[src]

fn resource_as_trait_mut<T: 'static + Send + ?Sized>(
    &self
) -> Option<WriteGuardRef<'_, T>>
[src]

Loading content...

Implementors

impl ResourcesExt for World[src]

impl<'a> ResourcesExt for Resources<'a>[src]

impl<'a> ResourcesExt for ResourcesCreation<'a>[src]

impl<'a> ResourcesExt for ResourcesThreadLocal<'a>[src]

Loading content...