pub struct Query<'a, B: Backend> {
pub pool: &'a B::QueryPool,
pub id: Id,
}
Expand description
A Query
object has a particular identifier and saves its results to a given QueryPool
.
It is passed as a parameter to the command buffer’s query methods.
Fields§
§pool: &'a B::QueryPool
§id: Id
Trait Implementations§
Auto Trait Implementations§
impl<'a, B> Freeze for Query<'a, B>
impl<'a, B> RefUnwindSafe for Query<'a, B>
impl<'a, B> Send for Query<'a, B>
impl<'a, B> Sync for Query<'a, B>
impl<'a, B> Unpin for Query<'a, B>
impl<'a, B> UnwindSafe for Query<'a, B>
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