Struct vulkano::query::QueryPool[][src]

pub struct QueryPool { /* fields omitted */ }
Expand description

A collection of one or more queries of a particular type.

Implementations

Builds a new query pool.

Returns the QueryType that this query pool was created with.

Returns the number of query slots of this query pool.

Returns a reference to a single query slot, or None if the index is out of range.

Returns a reference to a range of queries, or None if out of range.

Panic

Panics if the range is empty.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the device that owns Self.

Executes the destructor for this type. Read more

The type of the object.

Returns a reference to the object.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Builds a pointer to this type from a raw pointer.

Returns true if the size is suitable to store a type like this.

Returns the size of an individual element.

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.