Trait rin::ecs::storage::FastIndexExt[][src]

pub trait FastIndexExt {
    type FastIndex: 'static + Copy;
    type StaticTypeId: 'static;
    pub fn fast_index(&self, guid: usize) -> Self::FastIndex;
}

Associated Types

type FastIndex: 'static + Copy[src]

type StaticTypeId: 'static[src]

Loading content...

Required methods

pub fn fast_index(&self, guid: usize) -> Self::FastIndex[src]

Loading content...

Implementations on Foreign Types

impl<'a> FastIndexExt for &'a [(Entity, U256)][src]

type FastIndex = usize

type StaticTypeId = Entity

impl<'a, S1, S2, S3, S4> FastIndexExt for (S1, S2, S3, S4) where
    S2: FastIndexExt,
    S3: FastIndexExt,
    S4: FastIndexExt,
    S1: FastIndexExt
[src]

type FastIndex = (<S1 as FastIndexExt>::FastIndex, <S2 as FastIndexExt>::FastIndex, <S3 as FastIndexExt>::FastIndex, <S4 as FastIndexExt>::FastIndex)

type StaticTypeId = (<S1 as FastIndexExt>::StaticTypeId, <S2 as FastIndexExt>::StaticTypeId, <S3 as FastIndexExt>::StaticTypeId, <S4 as FastIndexExt>::StaticTypeId)

impl<'a, S1, S2, S3, S4, S5, S6, S7, S8> FastIndexExt for (S1, S2, S3, S4, S5, S6, S7, S8) where
    S2: FastIndexExt,
    S3: FastIndexExt,
    S4: FastIndexExt,
    S1: FastIndexExt,
    S5: FastIndexExt,
    S6: FastIndexExt,
    S7: FastIndexExt,
    S8: FastIndexExt
[src]

impl<'a, S1, S2, S3, S4, S5, S6, S7> FastIndexExt for (S1, S2, S3, S4, S5, S6, S7) where
    S2: FastIndexExt,
    S3: FastIndexExt,
    S4: FastIndexExt,
    S1: FastIndexExt,
    S5: FastIndexExt,
    S6: FastIndexExt,
    S7: FastIndexExt
[src]

type FastIndex = (<S1 as FastIndexExt>::FastIndex, <S2 as FastIndexExt>::FastIndex, <S3 as FastIndexExt>::FastIndex, <S4 as FastIndexExt>::FastIndex, <S5 as FastIndexExt>::FastIndex, <S6 as FastIndexExt>::FastIndex, <S7 as FastIndexExt>::FastIndex)

type StaticTypeId = (<S1 as FastIndexExt>::StaticTypeId, <S2 as FastIndexExt>::StaticTypeId, <S3 as FastIndexExt>::StaticTypeId, <S4 as FastIndexExt>::StaticTypeId, <S5 as FastIndexExt>::StaticTypeId, <S6 as FastIndexExt>::StaticTypeId, <S7 as FastIndexExt>::StaticTypeId)

impl<'a, S1, S2, S3, S4, S5, S6> FastIndexExt for (S1, S2, S3, S4, S5, S6) where
    S2: FastIndexExt,
    S3: FastIndexExt,
    S4: FastIndexExt,
    S1: FastIndexExt,
    S5: FastIndexExt,
    S6: FastIndexExt
[src]

type FastIndex = (<S1 as FastIndexExt>::FastIndex, <S2 as FastIndexExt>::FastIndex, <S3 as FastIndexExt>::FastIndex, <S4 as FastIndexExt>::FastIndex, <S5 as FastIndexExt>::FastIndex, <S6 as FastIndexExt>::FastIndex)

type StaticTypeId = (<S1 as FastIndexExt>::StaticTypeId, <S2 as FastIndexExt>::StaticTypeId, <S3 as FastIndexExt>::StaticTypeId, <S4 as FastIndexExt>::StaticTypeId, <S5 as FastIndexExt>::StaticTypeId, <S6 as FastIndexExt>::StaticTypeId)

impl<'a, S1, S2, S3, S4, S5> FastIndexExt for (S1, S2, S3, S4, S5) where
    S2: FastIndexExt,
    S3: FastIndexExt,
    S4: FastIndexExt,
    S1: FastIndexExt,
    S5: FastIndexExt
[src]

type FastIndex = (<S1 as FastIndexExt>::FastIndex, <S2 as FastIndexExt>::FastIndex, <S3 as FastIndexExt>::FastIndex, <S4 as FastIndexExt>::FastIndex, <S5 as FastIndexExt>::FastIndex)

type StaticTypeId = (<S1 as FastIndexExt>::StaticTypeId, <S2 as FastIndexExt>::StaticTypeId, <S3 as FastIndexExt>::StaticTypeId, <S4 as FastIndexExt>::StaticTypeId, <S5 as FastIndexExt>::StaticTypeId)

impl<'a, S1, S2> FastIndexExt for (S1, S2) where
    S2: FastIndexExt,
    S1: FastIndexExt
[src]

impl<'a, S1, S2, S3> FastIndexExt for (S1, S2, S3) where
    S2: FastIndexExt,
    S3: FastIndexExt,
    S1: FastIndexExt
[src]

type FastIndex = (<S1 as FastIndexExt>::FastIndex, <S2 as FastIndexExt>::FastIndex, <S3 as FastIndexExt>::FastIndex)

type StaticTypeId = (<S1 as FastIndexExt>::StaticTypeId, <S2 as FastIndexExt>::StaticTypeId, <S3 as FastIndexExt>::StaticTypeId)

Loading content...

Implementors

impl<'a, S1, S2> FastIndexExt for PartialStorageRef2<S1, S2> where
    S2: FastIndexExt,
    S1: FastIndexExt
[src]

type FastIndex = (<S1 as FastIndexExt>::FastIndex, <S2 as FastIndexExt>::FastIndex)

type StaticTypeId = (<S1 as FastIndexExt>::StaticTypeId, <S2 as FastIndexExt>::StaticTypeId)

impl<'a, S1, S2> FastIndexExt for StorageRef2<'a, S1, S2> where
    S2: FastIndexExt,
    S1: FastIndexExt
[src]

type FastIndex = (<S1 as FastIndexExt>::FastIndex, <S2 as FastIndexExt>::FastIndex)

type StaticTypeId = (<S1 as FastIndexExt>::StaticTypeId, <S2 as FastIndexExt>::StaticTypeId)

impl<'a, S1, S2, S3> FastIndexExt for PartialStorageRef3<S1, S2, S3> where
    S2: FastIndexExt,
    S3: FastIndexExt,
    S1: FastIndexExt
[src]

type FastIndex = (<S1 as FastIndexExt>::FastIndex, <S2 as FastIndexExt>::FastIndex, <S3 as FastIndexExt>::FastIndex)

type StaticTypeId = (<S1 as FastIndexExt>::StaticTypeId, <S2 as FastIndexExt>::StaticTypeId, <S3 as FastIndexExt>::StaticTypeId)

impl<'a, S1, S2, S3> FastIndexExt for StorageRef3<'a, S1, S2, S3> where
    S2: FastIndexExt,
    S3: FastIndexExt,
    S1: FastIndexExt
[src]

type FastIndex = (<S1 as FastIndexExt>::FastIndex, <S2 as FastIndexExt>::FastIndex, <S3 as FastIndexExt>::FastIndex)

type StaticTypeId = (<S1 as FastIndexExt>::StaticTypeId, <S2 as FastIndexExt>::StaticTypeId, <S3 as FastIndexExt>::StaticTypeId)

impl<'a, S1, S2, S3, S4> FastIndexExt for PartialStorageRef4<S1, S2, S3, S4> where
    S2: FastIndexExt,
    S3: FastIndexExt,
    S4: FastIndexExt,
    S1: FastIndexExt
[src]

impl<'a, S1, S2, S3, S4> FastIndexExt for StorageRef4<'a, S1, S2, S3, S4> where
    S2: FastIndexExt,
    S3: FastIndexExt,
    S4: FastIndexExt,
    S1: FastIndexExt
[src]

type FastIndex = (<S1 as FastIndexExt>::FastIndex, <S2 as FastIndexExt>::FastIndex, <S3 as FastIndexExt>::FastIndex, <S4 as FastIndexExt>::FastIndex)

type StaticTypeId = (<S1 as FastIndexExt>::StaticTypeId, <S2 as FastIndexExt>::StaticTypeId, <S3 as FastIndexExt>::StaticTypeId, <S4 as FastIndexExt>::StaticTypeId)

impl<'a, S1, S2, S3, S4, S5> FastIndexExt for PartialStorageRef5<S1, S2, S3, S4, S5> where
    S2: FastIndexExt,
    S3: FastIndexExt,
    S4: FastIndexExt,
    S1: FastIndexExt,
    S5: FastIndexExt
[src]

impl<'a, S1, S2, S3, S4, S5> FastIndexExt for StorageRef5<'a, S1, S2, S3, S4, S5> where
    S2: FastIndexExt,
    S3: FastIndexExt,
    S4: FastIndexExt,
    S1: FastIndexExt,
    S5: FastIndexExt
[src]

type FastIndex = (<S1 as FastIndexExt>::FastIndex, <S2 as FastIndexExt>::FastIndex, <S3 as FastIndexExt>::FastIndex, <S4 as FastIndexExt>::FastIndex, <S5 as FastIndexExt>::FastIndex)

type StaticTypeId = (<S1 as FastIndexExt>::StaticTypeId, <S2 as FastIndexExt>::StaticTypeId, <S3 as FastIndexExt>::StaticTypeId, <S4 as FastIndexExt>::StaticTypeId, <S5 as FastIndexExt>::StaticTypeId)

impl<'a, S1, S2, S3, S4, S5, S6> FastIndexExt for PartialStorageRef6<S1, S2, S3, S4, S5, S6> where
    S2: FastIndexExt,
    S3: FastIndexExt,
    S4: FastIndexExt,
    S1: FastIndexExt,
    S5: FastIndexExt,
    S6: FastIndexExt
[src]

impl<'a, S1, S2, S3, S4, S5, S6> FastIndexExt for StorageRef6<'a, S1, S2, S3, S4, S5, S6> where
    S2: FastIndexExt,
    S3: FastIndexExt,
    S4: FastIndexExt,
    S1: FastIndexExt,
    S5: FastIndexExt,
    S6: FastIndexExt
[src]

type FastIndex = (<S1 as FastIndexExt>::FastIndex, <S2 as FastIndexExt>::FastIndex, <S3 as FastIndexExt>::FastIndex, <S4 as FastIndexExt>::FastIndex, <S5 as FastIndexExt>::FastIndex, <S6 as FastIndexExt>::FastIndex)

type StaticTypeId = (<S1 as FastIndexExt>::StaticTypeId, <S2 as FastIndexExt>::StaticTypeId, <S3 as FastIndexExt>::StaticTypeId, <S4 as FastIndexExt>::StaticTypeId, <S5 as FastIndexExt>::StaticTypeId, <S6 as FastIndexExt>::StaticTypeId)

impl<'a, S1, S2, S3, S4, S5, S6, S7> FastIndexExt for PartialStorageRef7<S1, S2, S3, S4, S5, S6, S7> where
    S2: FastIndexExt,
    S3: FastIndexExt,
    S4: FastIndexExt,
    S1: FastIndexExt,
    S5: FastIndexExt,
    S6: FastIndexExt,
    S7: FastIndexExt
[src]

impl<'a, S1, S2, S3, S4, S5, S6, S7> FastIndexExt for StorageRef7<'a, S1, S2, S3, S4, S5, S6, S7> where
    S2: FastIndexExt,
    S3: FastIndexExt,
    S4: FastIndexExt,
    S1: FastIndexExt,
    S5: FastIndexExt,
    S6: FastIndexExt,
    S7: FastIndexExt
[src]

type FastIndex = (<S1 as FastIndexExt>::FastIndex, <S2 as FastIndexExt>::FastIndex, <S3 as FastIndexExt>::FastIndex, <S4 as FastIndexExt>::FastIndex, <S5 as FastIndexExt>::FastIndex, <S6 as FastIndexExt>::FastIndex, <S7 as FastIndexExt>::FastIndex)

type StaticTypeId = (<S1 as FastIndexExt>::StaticTypeId, <S2 as FastIndexExt>::StaticTypeId, <S3 as FastIndexExt>::StaticTypeId, <S4 as FastIndexExt>::StaticTypeId, <S5 as FastIndexExt>::StaticTypeId, <S6 as FastIndexExt>::StaticTypeId, <S7 as FastIndexExt>::StaticTypeId)

impl<'a, S1, S2, S3, S4, S5, S6, S7, S8> FastIndexExt for PartialStorageRef8<S1, S2, S3, S4, S5, S6, S7, S8> where
    S2: FastIndexExt,
    S3: FastIndexExt,
    S4: FastIndexExt,
    S1: FastIndexExt,
    S5: FastIndexExt,
    S6: FastIndexExt,
    S7: FastIndexExt,
    S8: FastIndexExt
[src]

impl<'a, S1, S2, S3, S4, S5, S6, S7, S8> FastIndexExt for StorageRef8<'a, S1, S2, S3, S4, S5, S6, S7, S8> where
    S2: FastIndexExt,
    S3: FastIndexExt,
    S4: FastIndexExt,
    S1: FastIndexExt,
    S5: FastIndexExt,
    S6: FastIndexExt,
    S7: FastIndexExt,
    S8: FastIndexExt
[src]

Loading content...