pub struct Update<T: Component>(/* private fields */);
Trait Implementations§
Source§impl<'a, const LOCKING: bool, T: Component> TypedLookupFetch<'a, LOCKING> for Update<T>
impl<'a, const LOCKING: bool, T: Component> TypedLookupFetch<'a, LOCKING> for Update<T>
type Value = UpdatedAccess<'a, T>
type Access = (&'a EntityDenseMap, ArchetypeColumnAccess<'a, LOCKING, T>)
fn try_access(archetype: &'a Archetype) -> Option<Self::Access>
fn fetch(access: &mut Self::Access, entity: Entity) -> Option<Self::Value>
fn unique_access(output: &mut HashSet<TypeHash>)
Source§impl<'a, const LOCKING: bool, T: Component> TypedQueryFetch<'a, LOCKING> for Update<T>
impl<'a, const LOCKING: bool, T: Component> TypedQueryFetch<'a, LOCKING> for Update<T>
type Value = UpdatedAccess<'a, T>
type Access = Box<dyn Iterator<Item = (Entity, &'a mut T)> + 'a>
fn does_accept_archetype(archetype: &Archetype) -> bool
fn access(archetype: &'a Archetype) -> Result<Self::Access, QueryError>
fn fetch(access: &mut Self::Access) -> Option<Self::Value>
fn unique_access(output: &mut HashSet<TypeHash>)
Auto Trait Implementations§
impl<T> Freeze for Update<T>
impl<T> RefUnwindSafe for Update<T>
impl<T> Send for Update<T>
impl<T> Sync for Update<T>
impl<T> Unpin for Update<T>
impl<T> UnwindSafe for Update<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more