[−][src]Trait legion::SharedDataSet
Inserts shared data into a Chunk
in a World
.
Required methods
fn is_archetype_match(&self, archetype: &Archetype) -> bool
Determines if the given archetype is compatible with the data contained in the data set.
fn is_chunk_match(&self, chunk: &Chunk) -> bool
Determines if the given chunk is compatible with the data contained in the data set.
fn configure_chunk(&self, chunk: &mut ChunkBuilder)
Configures a new chunk to include the shared data in this data set.
fn types(&self) -> FnvHashSet<TypeId>
Gets the type of shared data contained in this data set.
Implementations on Foreign Types
impl SharedDataSet for ()
[src]
fn is_archetype_match(&self, archetype: &Archetype) -> bool
[src]
fn is_chunk_match(&self, _: &Chunk) -> bool
[src]
fn configure_chunk(&self, _: &mut ChunkBuilder)
[src]
fn types(&self) -> FnvHashSet<TypeId>
[src]
impl<A> SharedDataSet for (A,) where
A: SharedData,
[src]
A: SharedData,
fn is_archetype_match(&self, archetype: &Archetype) -> bool
[src]
fn is_chunk_match(&self, chunk: &Chunk) -> bool
[src]
fn configure_chunk(&self, chunk: &mut ChunkBuilder)
[src]
fn types(&self) -> FnvHashSet<TypeId>
[src]
impl<A, B> SharedDataSet for (A, B) where
A: SharedData,
B: SharedData,
[src]
A: SharedData,
B: SharedData,
fn is_archetype_match(&self, archetype: &Archetype) -> bool
[src]
fn is_chunk_match(&self, chunk: &Chunk) -> bool
[src]
fn configure_chunk(&self, chunk: &mut ChunkBuilder)
[src]
fn types(&self) -> FnvHashSet<TypeId>
[src]
impl<A, B, C> SharedDataSet for (A, B, C) where
A: SharedData,
B: SharedData,
C: SharedData,
[src]
A: SharedData,
B: SharedData,
C: SharedData,
fn is_archetype_match(&self, archetype: &Archetype) -> bool
[src]
fn is_chunk_match(&self, chunk: &Chunk) -> bool
[src]
fn configure_chunk(&self, chunk: &mut ChunkBuilder)
[src]
fn types(&self) -> FnvHashSet<TypeId>
[src]
impl<A, B, C, D> SharedDataSet for (A, B, C, D) where
A: SharedData,
B: SharedData,
C: SharedData,
D: SharedData,
[src]
A: SharedData,
B: SharedData,
C: SharedData,
D: SharedData,
fn is_archetype_match(&self, archetype: &Archetype) -> bool
[src]
fn is_chunk_match(&self, chunk: &Chunk) -> bool
[src]
fn configure_chunk(&self, chunk: &mut ChunkBuilder)
[src]
fn types(&self) -> FnvHashSet<TypeId>
[src]
impl<A, B, C, D, E> SharedDataSet for (A, B, C, D, E) where
A: SharedData,
B: SharedData,
C: SharedData,
D: SharedData,
E: SharedData,
[src]
A: SharedData,
B: SharedData,
C: SharedData,
D: SharedData,
E: SharedData,