Struct screen_13::prelude::vk::QueryResultFlags
source · pub struct QueryResultFlags(_);Expand description
Implementations§
source§impl 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
source§impl 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
source§impl QueryResultFlags
impl QueryResultFlags
Generated from ‘VK_KHR_video_queue’
pub const WITH_STATUS_KHR: QueryResultFlags = Self(16)
Trait Implementations§
source§impl BitAnd<QueryResultFlags> for QueryResultFlags
impl BitAnd<QueryResultFlags> for QueryResultFlags
§type Output = QueryResultFlags
type Output = QueryResultFlags
The resulting type after applying the
& operator.source§fn bitand(self, rhs: QueryResultFlags) -> QueryResultFlags
fn bitand(self, rhs: QueryResultFlags) -> QueryResultFlags
Performs the
& operation. Read moresource§impl BitAndAssign<QueryResultFlags> for QueryResultFlags
impl BitAndAssign<QueryResultFlags> for QueryResultFlags
source§fn bitand_assign(&mut self, rhs: QueryResultFlags)
fn bitand_assign(&mut self, rhs: QueryResultFlags)
Performs the
&= operation. Read moresource§impl BitOr<QueryResultFlags> for QueryResultFlags
impl BitOr<QueryResultFlags> for QueryResultFlags
§type Output = QueryResultFlags
type Output = QueryResultFlags
The resulting type after applying the
| operator.source§fn bitor(self, rhs: QueryResultFlags) -> QueryResultFlags
fn bitor(self, rhs: QueryResultFlags) -> QueryResultFlags
Performs the
| operation. Read moresource§impl BitOrAssign<QueryResultFlags> for QueryResultFlags
impl BitOrAssign<QueryResultFlags> for QueryResultFlags
source§fn bitor_assign(&mut self, rhs: QueryResultFlags)
fn bitor_assign(&mut self, rhs: QueryResultFlags)
Performs the
|= operation. Read moresource§impl BitXor<QueryResultFlags> for QueryResultFlags
impl BitXor<QueryResultFlags> for QueryResultFlags
§type Output = QueryResultFlags
type Output = QueryResultFlags
The resulting type after applying the
^ operator.source§fn bitxor(self, rhs: QueryResultFlags) -> QueryResultFlags
fn bitxor(self, rhs: QueryResultFlags) -> QueryResultFlags
Performs the
^ operation. Read moresource§impl BitXorAssign<QueryResultFlags> for QueryResultFlags
impl BitXorAssign<QueryResultFlags> for QueryResultFlags
source§fn bitxor_assign(&mut self, rhs: QueryResultFlags)
fn bitxor_assign(&mut self, rhs: QueryResultFlags)
Performs the
^= operation. Read moresource§impl Clone for QueryResultFlags
impl Clone for QueryResultFlags
source§fn clone(&self) -> QueryResultFlags
fn clone(&self) -> QueryResultFlags
Returns a copy 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 Debug for QueryResultFlags
impl Debug for QueryResultFlags
source§impl Default for QueryResultFlags
impl Default for QueryResultFlags
source§fn default() -> QueryResultFlags
fn default() -> QueryResultFlags
Returns the “default value” for a type. Read more
source§impl Hash for QueryResultFlags
impl Hash for QueryResultFlags
source§impl Not for QueryResultFlags
impl Not for QueryResultFlags
§type Output = QueryResultFlags
type Output = QueryResultFlags
The resulting type after applying the
! operator.source§fn not(self) -> QueryResultFlags
fn not(self) -> QueryResultFlags
Performs the unary
! operation. Read moresource§impl Ord for QueryResultFlags
impl Ord for QueryResultFlags
source§fn cmp(&self, other: &QueryResultFlags) -> Ordering
fn cmp(&self, other: &QueryResultFlags) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<QueryResultFlags> for QueryResultFlags
impl PartialEq<QueryResultFlags> for QueryResultFlags
source§fn 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 ==.source§impl PartialOrd<QueryResultFlags> for QueryResultFlags
impl PartialOrd<QueryResultFlags> for QueryResultFlags
source§fn partial_cmp(&self, other: &QueryResultFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &QueryResultFlags) -> Option<Ordering>
1.0.0 · source§fn 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