Struct constellation::Entity
[−]
[src]
pub struct Entity(_);
A handle onto an entity in a scene.
Trait Implementations
impl PartialEq for Entity
[src]
fn eq(&self, __arg_0: &Entity) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Entity) -> bool
This method tests for !=
.
impl Eq for Entity
[src]
impl Debug for Entity
[src]
impl Copy for Entity
[src]
impl Clone for Entity
[src]
fn clone(&self) -> Entity
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Hash for Entity
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Handle<Index, Generation> for Entity
[src]
fn new(index: Index, generation: Generation) -> Entity
Constructs a new handle.
fn index(&self) -> Index
Gets the index component of the handle.
fn generation(&self) -> Generation
Gets the generation component of the handle.