Struct ambient_api::prelude::ConceptQuery
source · pub struct ConceptQuery<C>(/* private fields */)
where
C: ConceptComponents;
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> Clone for ConceptQuery<C>where
C: ConceptComponents,
impl<C> Clone for ConceptQuery<C>where
C: ConceptComponents,
source§fn clone(&self) -> ConceptQuery<C>
fn clone(&self) -> ConceptQuery<C>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<C> ComponentsTuple for ConceptQuery<C>where
C: ConceptComponents,
impl<C> ComponentsTuple for ConceptQuery<C>where
C: ConceptComponents,
Helper blanket implementation that allows you to use concepts where component tuples are expected.
source§impl<C> Debug for ConceptQuery<C>where
C: Debug + ConceptComponents,
impl<C> Debug for ConceptQuery<C>where
C: Debug + ConceptComponents,
source§impl<C> Default for ConceptQuery<C>where
C: Default + ConceptComponents,
impl<C> Default for ConceptQuery<C>where
C: Default + ConceptComponents,
source§fn default() -> ConceptQuery<C>
fn default() -> ConceptQuery<C>
Returns the “default value” for a type. Read more
impl<C> Copy for ConceptQuery<C>where
C: ConceptComponents,
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
source§impl<T> Downcast for T
impl<T> Downcast for T
source§impl<T> ElementComponentName for T
impl<T> ElementComponentName for T
source§fn element_component_name(&self) -> &'static str
fn element_component_name(&self) -> &'static str
Returns the name of the type implementing ElementComponent.