pub struct JoinedQuerier<'w, 's, 't, Q: QualifierFlag, S: StatStream<Qualifier = Q>> { /* private fields */ }
Implementations§
Source§impl<'w, 's, 't, Q: QualifierFlag, S: StatStream<Qualifier = Q>> JoinedQuerier<'w, 's, 't, Q, S>
impl<'w, 's, 't, Q: QualifierFlag, S: StatStream<Qualifier = Q>> JoinedQuerier<'w, 's, 't, Q, S>
pub fn join<T: StatStream<Qualifier = Q>>( self, stream: T, ) -> JoinedQuerier<'w, 's, 't, Q, (S, T)>
pub fn query_stat<T: Stat>( &self, entity: Entity, qualifier: &QualifierQuery<Q>, stat: &T, ) -> Option<T::Value>
pub fn query_relation<T: Stat>( &self, from: Entity, to: Entity, qualifier: &QualifierQuery<Q>, stat: &T, ) -> Option<T::Value>
pub fn eval_stat<T: Stat>( &self, entity: Entity, qualifier: &QualifierQuery<Q>, stat: &T, ) -> Option<<T::Value as StatValue>::Out>
pub fn eval_relation<T: Stat>( &self, from: Entity, to: Entity, qualifier: &QualifierQuery<Q>, stat: &T, ) -> Option<<T::Value as StatValue>::Out>
pub fn has_attribute<'a>( &self, entity: Entity, attribute: impl Into<Attribute<'a>>, ) -> bool
Auto Trait Implementations§
impl<'w, 's, 't, Q, S> Freeze for JoinedQuerier<'w, 's, 't, Q, S>where
S: Freeze,
impl<'w, 's, 't, Q, S> !RefUnwindSafe for JoinedQuerier<'w, 's, 't, Q, S>
impl<'w, 's, 't, Q, S> Send for JoinedQuerier<'w, 's, 't, Q, S>where
S: Send,
impl<'w, 's, 't, Q, S> Sync for JoinedQuerier<'w, 's, 't, Q, S>where
S: Sync,
impl<'w, 's, 't, Q, S> Unpin for JoinedQuerier<'w, 's, 't, Q, S>where
S: Unpin,
impl<'w, 's, 't, Q, S> !UnwindSafe for JoinedQuerier<'w, 's, 't, Q, S>
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 Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
, which can then be
downcast
into Box<dyn ConcreteType>
where ConcreteType
implements Trait
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
, which can then be further
downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.