#[repr(transparent)]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 more
sourceimpl 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 more
sourceimpl 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 more
sourceimpl 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 more
sourceimpl 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 more
sourceimpl 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 more
sourceimpl 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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl 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 more
sourceimpl Ord for QueryResultFlags
impl Ord for QueryResultFlags
sourceimpl PartialEq<QueryResultFlags> for QueryResultFlags
impl PartialEq<QueryResultFlags> for QueryResultFlags
sourcefn eq(&self, other: &QueryResultFlags) -> bool
fn eq(&self, other: &QueryResultFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &QueryResultFlags) -> bool
fn ne(&self, other: &QueryResultFlags) -> bool
This method tests for !=.
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>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
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 more
impl 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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