[][src]Struct legion::world::Entity

#[repr(transparent)]pub struct Entity(_);

An opaque identifier for an entity.

Trait Implementations

impl Clone for Entity[src]

impl Copy for Entity[src]

impl Debug for Entity[src]

impl DefaultFilter for Entity[src]

type Filter = EntityFilterTuple<Any, Passthrough>

The filter constructed.

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

impl Eq for Entity[src]

impl Hash for Entity[src]

impl PartialEq<Entity> for Entity[src]

impl Serialize for Entity[src]

impl StructuralEq for Entity[src]

impl StructuralPartialEq for Entity[src]

impl<'data> View<'data> for Entity[src]

type Element = <Self::Fetch as IntoIndexableIter>::Item

The type of component references returned.

type Fetch = EntityFetch<'data>

The fetch type yielded for each archetype.

type Iter = Iter<'data>

The iterator type which pulls entity data out of a world.

type Read = [ComponentTypeId; 0]

Contains the type IDs read by the view.

type Write = [ComponentTypeId; 0]

Contains the type IDs written by the view.

Auto Trait Implementations

impl RefUnwindSafe for Entity

impl Send for Entity

impl Sync for Entity

impl Unpin for Entity

impl UnwindSafe for Entity

Blanket Implementations

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

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

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

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

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

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,