[]Struct acute_ecs::prelude::TryRead

pub struct TryRead<T>(_)
where
    T: Component
;

Reads a single entity data component type from a chunk, if it's present.

Trait Implementations

impl<T> Clone for TryRead<T> where
    T: Component

impl<T> Copy for TryRead<T> where
    T: Component

impl<T> Debug for TryRead<T> where
    T: Component + Debug

impl<T> Default for TryRead<T> where
    T: Component

impl<'a, T> DefaultFilter for TryRead<T> where
    T: Component

type Filter = EntityFilterTuple<Passthrough, Passthrough, Passthrough>

The type of entity filter constructed.

impl<'a, T> View<'a> for TryRead<T> where
    T: Component

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

The iterator over the chunk data.

Auto Trait Implementations

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

impl<T> Send for TryRead<T>

impl<T> Sync for TryRead<T>

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

impl<T> UnwindSafe for TryRead<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

impl<T> Downcast for T where
    T: Any

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

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

impl<T> Resource for T where
    T: 'static + Send + Sync

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.