Struct ash::vk::QueryResultFlags
source · #[repr(transparent)]pub struct QueryResultFlags(_);
Implementations
sourceimpl QueryResultFlags
impl QueryResultFlags
pub fn empty() -> QueryResultFlags
pub fn all() -> QueryResultFlags
pub fn from_raw(x: Flags) -> Self
pub fn as_raw(self) -> Flags
pub fn is_empty(self) -> bool
pub fn is_all(self) -> bool
pub fn intersects(self, other: QueryResultFlags) -> bool
sourcepub fn contains(self, other: QueryResultFlags) -> bool
pub fn contains(self, other: QueryResultFlags) -> bool
Returns whether other
is a subset of self
sourceimpl QueryResultFlags
impl QueryResultFlags
sourcepub const TYPE_64: Self = _
pub const TYPE_64: Self = _
Results of the queries are written to the destination buffer as 64-bit values
sourcepub const WAIT: Self = _
pub const WAIT: Self = _
Results of the queries are waited on before proceeding with the result copy
sourcepub const WITH_AVAILABILITY: Self = _
pub const WITH_AVAILABILITY: Self = _
Besides the results of the query, the availability of the results is also written
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 · sourcefn clone_from(&mut self, source: &Self)
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 Display for QueryResultFlags
impl Display for QueryResultFlags
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 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
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 · 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 moresourceimpl Sub<QueryResultFlags> for QueryResultFlags
impl Sub<QueryResultFlags> for QueryResultFlags
type Output = QueryResultFlags
type Output = QueryResultFlags
The resulting type after applying the
-
operator.sourcefn sub(self, rhs: QueryResultFlags) -> QueryResultFlags
fn sub(self, rhs: QueryResultFlags) -> QueryResultFlags
Performs the
-
operation. Read moresourceimpl SubAssign<QueryResultFlags> for QueryResultFlags
impl SubAssign<QueryResultFlags> for QueryResultFlags
sourcefn sub_assign(&mut self, rhs: QueryResultFlags)
fn sub_assign(&mut self, rhs: QueryResultFlags)
Performs the
-=
operation. 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