[][src]Trait afeather::ReadableStorage

pub trait ReadableStorage {
    type Read: RefLike;
    fn get(
        world_storage: &Components,
        archetype_storage: &Components
    ) -> Option<Self::Read>; }

Associated Types

Loading content...

Required methods

fn get(
    world_storage: &Components,
    archetype_storage: &Components
) -> Option<Self::Read>

Loading content...

Implementations on Foreign Types

impl<T: ReadableStorage> ReadableStorage for Rc<T>[src]

type Read = T::Read

impl<T0: ReadableStorage, T1: ReadableStorage> ReadableStorage for (T0, T1)[src]

type Read = (T0::Read, T1::Read)

impl<T0: ReadableStorage, T1: ReadableStorage, T2: ReadableStorage> ReadableStorage for (T0, T1, T2)[src]

type Read = (T0::Read, T1::Read, T2::Read)

impl<T0: ReadableStorage, T1: ReadableStorage, T2: ReadableStorage, T3: ReadableStorage> ReadableStorage for (T0, T1, T2, T3)[src]

type Read = (T0::Read, T1::Read, T2::Read, T3::Read)

impl ReadableStorage for ()[src]

type Read = ()

impl<T: ReadableStorage> ReadableStorage for Option<T>[src]

type Read = Option<T::Read>

Loading content...

Implementors

impl<R: ReadableStorage + AnyStorage, T: Component<Storage = R>> ReadableStorage for T[src]

type Read = R::Read

impl<T: 'static> ReadableStorage for Global<T>[src]

type Read = Rc<Self>

impl<T: 'static> ReadableStorage for PerArchetype<T>[src]

type Read = Rc<Self>

impl<T: 'static> ReadableStorage for PerEntity<T>[src]

type Read = Rc<Self>

impl<T: Component> ReadableStorage for Sparse<T>[src]

type Read = Rc<Self>

Loading content...