Trait rin::ecs::IntoStorages[][src]

pub trait IntoStorages {
    type Storages;
    pub fn into_storages(self) -> Self::Storages;
}

Associated Types

type Storages[src]

Loading content...

Required methods

pub fn into_storages(self) -> Self::Storages[src]

Loading content...

Implementors

impl<'a, U1, U2> IntoStorages for Sto<'a, (U1, U2)> where
    U1: UnorderedData<'a>,
    U2: UnorderedData<'a>,
    <U1 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U1 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U2 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U2 as UnorderedData<'a>>::Storage: StorageRef<'a>, 
[src]

type Storages = (Sto<'a, U1>, Sto<'a, U2>)

impl<'a, U1, U2, U3> IntoStorages for Sto<'a, (U1, U2, U3)> where
    U1: UnorderedData<'a>,
    U2: UnorderedData<'a>,
    U3: UnorderedData<'a>,
    <U1 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U1 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U2 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U2 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U3 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U3 as UnorderedData<'a>>::Storage: StorageRef<'a>, 
[src]

type Storages = (Sto<'a, U1>, Sto<'a, U2>, Sto<'a, U3>)

impl<'a, U1, U2, U3, U4> IntoStorages for Sto<'a, (U1, U2, U3, U4)> where
    U1: UnorderedData<'a>,
    U2: UnorderedData<'a>,
    U3: UnorderedData<'a>,
    U4: UnorderedData<'a>,
    <U1 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U1 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U2 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U2 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U3 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U3 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U4 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U4 as UnorderedData<'a>>::Storage: StorageRef<'a>, 
[src]

type Storages = (Sto<'a, U1>, Sto<'a, U2>, Sto<'a, U3>, Sto<'a, U4>)

impl<'a, U1, U2, U3, U4, U5> IntoStorages for Sto<'a, (U1, U2, U3, U4, U5)> where
    U1: UnorderedData<'a>,
    U2: UnorderedData<'a>,
    U3: UnorderedData<'a>,
    U4: UnorderedData<'a>,
    U5: UnorderedData<'a>,
    <U1 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U1 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U2 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U2 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U3 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U3 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U4 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U4 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U5 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U5 as UnorderedData<'a>>::Storage: StorageRef<'a>, 
[src]

type Storages = (Sto<'a, U1>, Sto<'a, U2>, Sto<'a, U3>, Sto<'a, U4>, Sto<'a, U5>)

impl<'a, U1, U2, U3, U4, U5, U6> IntoStorages for Sto<'a, (U1, U2, U3, U4, U5, U6)> where
    U1: UnorderedData<'a>,
    U2: UnorderedData<'a>,
    U3: UnorderedData<'a>,
    U4: UnorderedData<'a>,
    U5: UnorderedData<'a>,
    U6: UnorderedData<'a>,
    <U1 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U1 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U2 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U2 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U3 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U3 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U4 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U4 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U5 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U5 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U6 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U6 as UnorderedData<'a>>::Storage: StorageRef<'a>, 
[src]

type Storages = (Sto<'a, U1>, Sto<'a, U2>, Sto<'a, U3>, Sto<'a, U4>, Sto<'a, U5>, Sto<'a, U6>)

impl<'a, U1, U2, U3, U4, U5, U6, U7> IntoStorages for Sto<'a, (U1, U2, U3, U4, U5, U6, U7)> where
    U1: UnorderedData<'a>,
    U2: UnorderedData<'a>,
    U3: UnorderedData<'a>,
    U4: UnorderedData<'a>,
    U5: UnorderedData<'a>,
    U6: UnorderedData<'a>,
    U7: UnorderedData<'a>,
    <U1 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U1 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U2 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U2 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U3 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U3 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U4 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U4 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U5 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U5 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U6 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U6 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U7 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U7 as UnorderedData<'a>>::Storage: StorageRef<'a>, 
[src]

type Storages = (Sto<'a, U1>, Sto<'a, U2>, Sto<'a, U3>, Sto<'a, U4>, Sto<'a, U5>, Sto<'a, U6>, Sto<'a, U7>)

impl<'a, U1, U2, U3, U4, U5, U6, U7, U8> IntoStorages for Sto<'a, (U1, U2, U3, U4, U5, U6, U7, U8)> where
    U8: UnorderedData<'a>,
    U1: UnorderedData<'a>,
    U2: UnorderedData<'a>,
    U3: UnorderedData<'a>,
    U4: UnorderedData<'a>,
    U5: UnorderedData<'a>,
    U6: UnorderedData<'a>,
    U7: UnorderedData<'a>,
    <U1 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U1 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U2 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U2 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U3 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U3 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U4 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U4 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U5 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U5 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U6 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U6 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U7 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U7 as UnorderedData<'a>>::Storage: StorageRef<'a>,
    <U8 as UnorderedData<'a>>::Storage: FastIndexExt,
    <U8 as UnorderedData<'a>>::Storage: StorageRef<'a>, 
[src]

type Storages = (Sto<'a, U1>, Sto<'a, U2>, Sto<'a, U3>, Sto<'a, U4>, Sto<'a, U5>, Sto<'a, U6>, Sto<'a, U7>, Sto<'a, U8>)

Loading content...