[][src]Struct legion_core::query::Read

pub struct Read<T: Component>(_);

Reads a single entity data component type from a chunk.

Trait Implementations

impl<T: Component> Clone for Read<T>[src]

impl<T: Component> Copy for Read<T>[src]

impl<T: Debug + Component> Debug for Read<T>[src]

impl<T: Component> Default for Read<T>[src]

impl<'a, T: Component> DefaultFilter for Read<T>[src]

type Filter = EntityFilterTuple<ComponentFilter<T>, Passthrough, Passthrough>

The type of entity filter constructed.

impl<'a, T: Component> View<'a> for Read<T>[src]

type Iter = RefIter<'a, T, Iter<'a, T>>

The iterator over the chunk data.

Auto Trait Implementations

impl<T> RefUnwindSafe for Read<T> where
    T: RefUnwindSafe

impl<T> Send for Read<T>

impl<T> Sync for Read<T>

impl<T> Unpin for Read<T> where
    T: Unpin

impl<T> UnwindSafe for Read<T> where
    T: UnwindSafe

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> Component for T where
    T: 'static + Send + Sync
[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> IntoQuery for T where
    T: for<'a> View<'a> + DefaultFilter
[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.