[−]Struct acute_ecs::query::Read
Reads a single entity data component type from a chunk.
Trait Implementations
impl<T> Clone for Read<T> where
T: Component,
T: Component,
fn clone(&self) -> Read<T>
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Copy for Read<T> where
T: Component,
T: Component,
impl<T> Debug for Read<T> where
T: Component + Debug,
T: Component + Debug,
impl<T> Default for Read<T> where
T: Component,
T: Component,
impl<'a, T> DefaultFilter for Read<T> where
T: Component,
T: Component,
type Filter = EntityFilterTuple<ComponentFilter<T>, Passthrough, Passthrough>
The type of entity filter constructed.
fn filter() -> <Read<T> as DefaultFilter>::Filter
impl<T> ResourceSet for Read<T> where
T: Resource,
T: Resource,
type PreparedResources = PreparedRead<T>
unsafe fn fetch_unchecked(
resources: &Resources
) -> <Read<T> as ResourceSet>::PreparedResources
resources: &Resources
) -> <Read<T> as ResourceSet>::PreparedResources
fn fetch_mut(resources: &mut Resources) -> Self::PreparedResources
fn fetch(resources: &Resources) -> Self::PreparedResources where
Self: ReadOnly,
Self: ReadOnly,
impl<'a, T> View<'a> for Read<T> where
T: Component,
T: Component,
type Iter = RefIter<'a, T, Iter<'a, T>>
The iterator over the chunk data.
fn fetch(
&'a ArchetypeData,
chunk: &'a ComponentStorage,
ChunkIndex,
SetIndex
) -> <Read<T> as View<'a>>::Iter
&'a ArchetypeData,
chunk: &'a ComponentStorage,
ChunkIndex,
SetIndex
) -> <Read<T> as View<'a>>::Iter
fn validate() -> bool
fn reads<D>() -> bool where
D: Component,
D: Component,
fn writes<D>() -> bool where
D: Component,
D: Component,
fn validate_access(access: &ComponentAccess<'_>) -> bool
fn requires_permissions() -> Permissions<ComponentTypeId>
Auto Trait Implementations
impl<T> RefUnwindSafe for Read<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Read<T>
impl<T> Sync for Read<T>
impl<T> Unpin for Read<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Read<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Component for T where
T: 'static + Send + Sync,
T: 'static + Send + Sync,
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoQuery for T where
T: for<'a> View<'a> + DefaultFilter,
T: for<'a> View<'a> + DefaultFilter,
fn query() -> Query<T, <T as DefaultFilter>::Filter>
impl<T> Resource for T where
T: 'static + Send + Sync,
T: 'static + Send + Sync,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,