pub struct With<T: Component>(/* private fields */);Expand description
Requires component T to be present (not fetched).
Trait Implementations§
Source§impl<T: Component> QueryFilter for With<T>
impl<T: Component> QueryFilter for With<T>
Source§fn matches_archetype(a: &Archetype) -> bool
fn matches_archetype(a: &Archetype) -> bool
true if the archetype passes this filter.Auto Trait Implementations§
impl<T> Freeze for With<T>
impl<T> RefUnwindSafe for With<T>where
T: RefUnwindSafe,
impl<T> Send for With<T>
impl<T> Sync for With<T>
impl<T> Unpin for With<T>where
T: Unpin,
impl<T> UnsafeUnpin for With<T>
impl<T> UnwindSafe for With<T>where
T: UnwindSafe,
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