Struct screen_13::prelude::vk::QueryResultFlags
source · pub struct QueryResultFlags(/* private fields */);
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 = _
pub const TYPE_64: QueryResultFlags = _
Results of the queries are written to the destination buffer as 64-bit values
sourcepub const WAIT: QueryResultFlags = _
pub const WAIT: QueryResultFlags = _
Results of the queries are waited on before proceeding with the result copy
sourcepub const WITH_AVAILABILITY: QueryResultFlags = _
pub const WITH_AVAILABILITY: QueryResultFlags = _
Besides the results of the query, the availability of the results is also written
sourcepub const PARTIAL: QueryResultFlags = _
pub const PARTIAL: QueryResultFlags = _
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 = _
Trait Implementations§
source§impl BitAnd for QueryResultFlags
impl BitAnd 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 for QueryResultFlags
impl BitAndAssign for QueryResultFlags
source§fn bitand_assign(&mut self, rhs: QueryResultFlags)
fn bitand_assign(&mut self, rhs: QueryResultFlags)
Performs the
&=
operation. Read moresource§impl BitOr for QueryResultFlags
impl BitOr 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 for QueryResultFlags
impl BitOrAssign for QueryResultFlags
source§fn bitor_assign(&mut self, rhs: QueryResultFlags)
fn bitor_assign(&mut self, rhs: QueryResultFlags)
Performs the
|=
operation. Read moresource§impl BitXor for QueryResultFlags
impl BitXor 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 for QueryResultFlags
impl BitXorAssign 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 for QueryResultFlags
impl PartialEq 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 for QueryResultFlags
impl PartialOrd 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 moreimpl Copy for QueryResultFlags
impl Eq 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§
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.