Trait rin::ecs::ResourcesExt[][src]

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

Required methods

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

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

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

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

Loading content...

Implementors

impl ResourcesExt for Scene[src]

impl ResourcesExt for World[src]

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

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

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

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

Loading content...