pub struct Query<'container, 'innards> { /* private fields */ }Expand description
A query event
Implementations§
Source§impl<'container, 'innards> Query<'container, 'innards>
impl<'container, 'innards> Query<'container, 'innards>
Sourcepub fn questions(&self) -> &[Question<'innards>]
pub fn questions(&self) -> &[Question<'innards>]
Returns the question associated with the query event.
Sourcepub const fn query_handle(&self) -> QueryHandle
pub const fn query_handle(&self) -> QueryHandle
Returns the query handle associated with the query event.
Trait Implementations§
impl<'container, 'innards> Eq for Query<'container, 'innards>
impl<'container, 'innards> StructuralPartialEq for Query<'container, 'innards>
Auto Trait Implementations§
impl<'container, 'innards> Freeze for Query<'container, 'innards>
impl<'container, 'innards> RefUnwindSafe for Query<'container, 'innards>
impl<'container, 'innards> Send for Query<'container, 'innards>
impl<'container, 'innards> Sync for Query<'container, 'innards>
impl<'container, 'innards> Unpin for Query<'container, 'innards>
impl<'container, 'innards> !UnwindSafe for Query<'container, 'innards>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more