Struct legion::query::TryRead [−][src]
pub struct TryRead<T>(_);
Expand description
Reads a single entity data component type from a chunk.
Trait Implementations
type Filter = EntityFilterTuple<TryComponentFilter<T>, Passthrough>
type Filter = EntityFilterTuple<TryComponentFilter<T>, Passthrough>
The filter constructed.
type Fetch = Slice<'data, T>
type Fetch = Slice<'data, T>
The fetch type yielded for each archetype.
type Iter = TryReadIter<'data, T>
type Iter = TryReadIter<'data, T>
The iterator type which pulls entity data out of a world.
type Read = [ComponentTypeId; 1]
type Read = [ComponentTypeId; 1]
Contains the type IDs read by the view.
type Write = [ComponentTypeId; 0]
type Write = [ComponentTypeId; 0]
Contains the type IDs written by the view.
Returns true
if the given component access includes all permissions required by the view.
Returns the component types read by the view.
Returns the component types written to by the view.
Returns a permissions struct declaring the component accesses required by the view.
Auto Trait Implementations
impl<T> RefUnwindSafe for TryRead<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for TryRead<T> where
T: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more