pub struct Include<T: Component>(/* private fields */);Trait Implementations§
Source§impl<'a, const LOCKING: bool, T: Component> TypedLookupFetch<'a, LOCKING> for Include<T>
impl<'a, const LOCKING: bool, T: Component> TypedLookupFetch<'a, LOCKING> for Include<T>
type Value = ()
type ValueOne = ()
type Access = &'a EntityDenseMap
fn try_access(archetype: &'a Archetype) -> Option<Self::Access>
fn fetch(access: &mut Self::Access, entity: Entity) -> Option<Self::Value>
fn fetch_one(world: &'a World, entity: Entity) -> Option<Self::ValueOne>
fn unique_access(output: &mut HashSet<TypeHash>)
Auto Trait Implementations§
impl<T> Freeze for Include<T>
impl<T> RefUnwindSafe for Include<T>
impl<T> Send for Include<T>
impl<T> Sync for Include<T>
impl<T> Unpin for Include<T>
impl<T> UnwindSafe for Include<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