[][src]Struct gfx_hal::query::Query

pub struct Query<'a, B: Backend> {
    pub pool: &'a B::QueryPool,
    pub id: Id,
}

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

impl<'a, B: Debug + Backend> Debug for Query<'a, B> where
    B::QueryPool: Debug
[src]

Auto Trait Implementations

impl<'a, B> Send for Query<'a, B> where
    <B as Backend>::QueryPool: Sync

impl<'a, B> Unpin for Query<'a, B>

impl<'a, B> Sync for Query<'a, B> where
    <B as Backend>::QueryPool: Sync

impl<'a, B> UnwindSafe for Query<'a, B> where
    <B as Backend>::QueryPool: RefUnwindSafe

impl<'a, B> RefUnwindSafe for Query<'a, B> where
    <B as Backend>::QueryPool: RefUnwindSafe

Blanket Implementations

impl<T> Supports<T> for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]