Struct ambient_api_core::ecs::ConceptQuery
source · pub struct ConceptQuery<C: ConceptComponents>(/* private fields */);
Expand description
Helper that lets you pass in concepts where component tuples are expected.
Note that this will only get the required components of the concept, and not the optional components!
Trait Implementations§
source§impl<C: ConceptComponents> Clone for ConceptQuery<C>
impl<C: ConceptComponents> Clone for ConceptQuery<C>
source§impl<C: ConceptComponents> ComponentsTuple for ConceptQuery<C>
impl<C: ConceptComponents> ComponentsTuple for ConceptQuery<C>
Helper blanket implementation that allows you to use concepts where component tuples are expected.
source§impl<C: Debug + ConceptComponents> Debug for ConceptQuery<C>
impl<C: Debug + ConceptComponents> Debug for ConceptQuery<C>
source§impl<C: Default + ConceptComponents> Default for ConceptQuery<C>
impl<C: Default + ConceptComponents> Default for ConceptQuery<C>
source§fn default() -> ConceptQuery<C>
fn default() -> ConceptQuery<C>
Returns the “default value” for a type. Read more
impl<C: ConceptComponents> Copy for ConceptQuery<C>
Auto Trait Implementations§
impl<C> RefUnwindSafe for ConceptQuery<C>where
C: RefUnwindSafe,
impl<C> Send for ConceptQuery<C>where
C: Send,
impl<C> Sync for ConceptQuery<C>where
C: Sync,
impl<C> Unpin for ConceptQuery<C>where
C: Unpin,
impl<C> UnwindSafe for ConceptQuery<C>where
C: 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