[][src]Struct rinecs::Entity

pub struct Entity { /* fields omitted */ }

The id of an entity.

Can also be used as an operator to retrieve all the entities that match the rest of the operators

for (entity, pos) in entities.iter_for::<(Entity, Read<Position>)>(){
    //...
}

Will return each entity that has a Position component and it's position

Methods

impl Entity
[src]

Trait Implementations

impl<'a> StorageRef<'a, Entity> for &'a [(Entity, MaskType)]
[src]

impl<'a> UnorderedData<'a> for Entity
[src]

impl<'a> UnorderedDataLocal<'a> for Entity
[src]

impl<'a> FromComponent<'a, Entity> for Entity
[src]

impl PartialOrd<Entity> for Entity
[src]

impl Ord for Entity
[src]

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialEq<Entity> for Entity
[src]

impl Clone for Entity
[src]

Performs copy-assignment from source. Read more

impl Copy for Entity
[src]

impl Eq for Entity
[src]

impl Debug for Entity
[src]

impl Hash for Entity
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Serialize for Entity
[src]

impl<'de> Deserialize<'de> for Entity
[src]

Auto Trait Implementations

impl Send for Entity

impl Sync for Entity

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.

impl<T> Serialize for T where
    T: Serialize + ?Sized
[src]