pub struct QueryPoolCreateInfoBuilder<'b> { /* private fields */ }Expand description
A builder for a QueryPoolCreateInfo.
Implementations§
Source§impl<'b> QueryPoolCreateInfoBuilder<'b>
impl<'b> QueryPoolCreateInfoBuilder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere
T: ExtendsQueryPoolCreateInfo,
pub fn flags(self, flags: QueryPoolCreateFlags) -> Self
pub fn query_type(self, query_type: QueryType) -> Self
pub fn query_count(self, query_count: u32) -> Self
pub fn pipeline_statistics( self, pipeline_statistics: QueryPipelineStatisticFlags, ) -> Self
pub fn build(self) -> QueryPoolCreateInfo
Trait Implementations§
Source§impl Cast for QueryPoolCreateInfoBuilder<'_>
impl Cast for QueryPoolCreateInfoBuilder<'_>
Source§type Target = QueryPoolCreateInfo
type Target = QueryPoolCreateInfo
The other type this type can be used interchangeably with in FFI.
Source§impl<'b> Clone for QueryPoolCreateInfoBuilder<'b>
impl<'b> Clone for QueryPoolCreateInfoBuilder<'b>
Source§fn clone(&self) -> QueryPoolCreateInfoBuilder<'b>
fn clone(&self) -> QueryPoolCreateInfoBuilder<'b>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'b> Debug for QueryPoolCreateInfoBuilder<'b>
impl<'b> Debug for QueryPoolCreateInfoBuilder<'b>
Source§impl<'b> Default for QueryPoolCreateInfoBuilder<'b>
impl<'b> Default for QueryPoolCreateInfoBuilder<'b>
Source§fn default() -> QueryPoolCreateInfoBuilder<'b>
fn default() -> QueryPoolCreateInfoBuilder<'b>
Returns the “default value” for a type. Read more
Source§impl Deref for QueryPoolCreateInfoBuilder<'_>
impl Deref for QueryPoolCreateInfoBuilder<'_>
Source§impl DerefMut for QueryPoolCreateInfoBuilder<'_>
impl DerefMut for QueryPoolCreateInfoBuilder<'_>
impl<'b> Copy for QueryPoolCreateInfoBuilder<'b>
Auto Trait Implementations§
impl<'b> Freeze for QueryPoolCreateInfoBuilder<'b>
impl<'b> RefUnwindSafe for QueryPoolCreateInfoBuilder<'b>
impl<'b> Send for QueryPoolCreateInfoBuilder<'b>
impl<'b> Sync for QueryPoolCreateInfoBuilder<'b>
impl<'b> Unpin for QueryPoolCreateInfoBuilder<'b>
impl<'b> UnwindSafe for QueryPoolCreateInfoBuilder<'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