pub struct QueryResultFlags(_);Expand description
Implementations
sourceimpl QueryResultFlags
impl QueryResultFlags
pub const fn empty() -> QueryResultFlags
pub const fn from_raw(x: u32) -> QueryResultFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: QueryResultFlags) -> bool
sourcepub const fn contains(self, other: QueryResultFlags) -> bool
pub const fn contains(self, other: QueryResultFlags) -> bool
Returns whether other is a subset of self
sourceimpl QueryResultFlags
impl QueryResultFlags
sourcepub const TYPE_64: QueryResultFlags = Self(1)
pub const TYPE_64: QueryResultFlags = Self(1)
Results of the queries are written to the destination buffer as 64-bit values
sourcepub const WAIT: QueryResultFlags = Self(2)
pub const WAIT: QueryResultFlags = Self(2)
Results of the queries are waited on before proceeding with the result copy
sourcepub const WITH_AVAILABILITY: QueryResultFlags = Self(4)
pub const WITH_AVAILABILITY: QueryResultFlags = Self(4)
Besides the results of the query, the availability of the results is also written
sourcepub const PARTIAL: QueryResultFlags = Self(8)
pub const PARTIAL: QueryResultFlags = Self(8)
Copy the partial results of the query even if the final results are not available
sourceimpl QueryResultFlags
impl QueryResultFlags
Generated from ‘VK_KHR_video_queue’
pub const WITH_STATUS_KHR: QueryResultFlags = Self(16)
Trait Implementations
sourceimpl BitAnd<QueryResultFlags> for QueryResultFlags
impl BitAnd<QueryResultFlags> for QueryResultFlags
type Output = QueryResultFlags
type Output = QueryResultFlags
The resulting type after applying the
& operator.sourcefn bitand(self, rhs: QueryResultFlags) -> QueryResultFlags
fn bitand(self, rhs: QueryResultFlags) -> QueryResultFlags
Performs the
& operation. Read moresourceimpl BitAndAssign<QueryResultFlags> for QueryResultFlags
impl BitAndAssign<QueryResultFlags> for QueryResultFlags
sourcefn bitand_assign(&mut self, rhs: QueryResultFlags)
fn bitand_assign(&mut self, rhs: QueryResultFlags)
Performs the
&= operation. Read moresourceimpl BitOr<QueryResultFlags> for QueryResultFlags
impl BitOr<QueryResultFlags> for QueryResultFlags
type Output = QueryResultFlags
type Output = QueryResultFlags
The resulting type after applying the
| operator.sourcefn bitor(self, rhs: QueryResultFlags) -> QueryResultFlags
fn bitor(self, rhs: QueryResultFlags) -> QueryResultFlags
Performs the
| operation. Read moresourceimpl BitOrAssign<QueryResultFlags> for QueryResultFlags
impl BitOrAssign<QueryResultFlags> for QueryResultFlags
sourcefn bitor_assign(&mut self, rhs: QueryResultFlags)
fn bitor_assign(&mut self, rhs: QueryResultFlags)
Performs the
|= operation. Read moresourceimpl BitXor<QueryResultFlags> for QueryResultFlags
impl BitXor<QueryResultFlags> for QueryResultFlags
type Output = QueryResultFlags
type Output = QueryResultFlags
The resulting type after applying the
^ operator.sourcefn bitxor(self, rhs: QueryResultFlags) -> QueryResultFlags
fn bitxor(self, rhs: QueryResultFlags) -> QueryResultFlags
Performs the
^ operation. Read moresourceimpl BitXorAssign<QueryResultFlags> for QueryResultFlags
impl BitXorAssign<QueryResultFlags> for QueryResultFlags
sourcefn bitxor_assign(&mut self, rhs: QueryResultFlags)
fn bitxor_assign(&mut self, rhs: QueryResultFlags)
Performs the
^= operation. Read moresourceimpl Clone for QueryResultFlags
impl Clone for QueryResultFlags
sourcefn clone(&self) -> QueryResultFlags
fn clone(&self) -> QueryResultFlags
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for QueryResultFlags
impl Debug for QueryResultFlags
sourceimpl Default for QueryResultFlags
impl Default for QueryResultFlags
sourcefn default() -> QueryResultFlags
fn default() -> QueryResultFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for QueryResultFlags
impl Hash for QueryResultFlags
sourceimpl Not for QueryResultFlags
impl Not for QueryResultFlags
type Output = QueryResultFlags
type Output = QueryResultFlags
The resulting type after applying the
! operator.sourcefn not(self) -> QueryResultFlags
fn not(self) -> QueryResultFlags
Performs the unary
! operation. Read moresourceimpl Ord for QueryResultFlags
impl Ord for QueryResultFlags
sourcefn cmp(&self, other: &QueryResultFlags) -> Ordering
fn cmp(&self, other: &QueryResultFlags) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Selfwhere
Self: Sized,
const fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Selfwhere
Self: Sized,
const fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<QueryResultFlags> for QueryResultFlags
impl PartialEq<QueryResultFlags> for QueryResultFlags
sourcefn eq(&self, other: &QueryResultFlags) -> bool
fn eq(&self, other: &QueryResultFlags) -> bool
sourceimpl PartialOrd<QueryResultFlags> for QueryResultFlags
impl PartialOrd<QueryResultFlags> for QueryResultFlags
sourcefn partial_cmp(&self, other: &QueryResultFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &QueryResultFlags) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for QueryResultFlags
impl Eq for QueryResultFlags
impl StructuralEq for QueryResultFlags
impl StructuralPartialEq for QueryResultFlags
Auto Trait Implementations
impl RefUnwindSafe for QueryResultFlags
impl Send for QueryResultFlags
impl Sync for QueryResultFlags
impl Unpin for QueryResultFlags
impl UnwindSafe for QueryResultFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more