Struct ash::vk::QueryControlFlags
source · #[repr(transparent)]pub struct QueryControlFlags(_);
Implementations
sourceimpl QueryControlFlags
impl QueryControlFlags
pub fn empty() -> QueryControlFlags
pub fn all() -> QueryControlFlags
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: QueryControlFlags) -> bool
sourcepub fn contains(self, other: QueryControlFlags) -> bool
pub fn contains(self, other: QueryControlFlags) -> bool
Returns whether other
is a subset of self
Trait Implementations
sourceimpl BitAnd<QueryControlFlags> for QueryControlFlags
impl BitAnd<QueryControlFlags> for QueryControlFlags
type Output = QueryControlFlags
type Output = QueryControlFlags
The resulting type after applying the
&
operator.sourcefn bitand(self, rhs: QueryControlFlags) -> QueryControlFlags
fn bitand(self, rhs: QueryControlFlags) -> QueryControlFlags
Performs the
&
operation. Read moresourceimpl BitAndAssign<QueryControlFlags> for QueryControlFlags
impl BitAndAssign<QueryControlFlags> for QueryControlFlags
sourcefn bitand_assign(&mut self, rhs: QueryControlFlags)
fn bitand_assign(&mut self, rhs: QueryControlFlags)
Performs the
&=
operation. Read moresourceimpl BitOr<QueryControlFlags> for QueryControlFlags
impl BitOr<QueryControlFlags> for QueryControlFlags
type Output = QueryControlFlags
type Output = QueryControlFlags
The resulting type after applying the
|
operator.sourcefn bitor(self, rhs: QueryControlFlags) -> QueryControlFlags
fn bitor(self, rhs: QueryControlFlags) -> QueryControlFlags
Performs the
|
operation. Read moresourceimpl BitOrAssign<QueryControlFlags> for QueryControlFlags
impl BitOrAssign<QueryControlFlags> for QueryControlFlags
sourcefn bitor_assign(&mut self, rhs: QueryControlFlags)
fn bitor_assign(&mut self, rhs: QueryControlFlags)
Performs the
|=
operation. Read moresourceimpl BitXor<QueryControlFlags> for QueryControlFlags
impl BitXor<QueryControlFlags> for QueryControlFlags
type Output = QueryControlFlags
type Output = QueryControlFlags
The resulting type after applying the
^
operator.sourcefn bitxor(self, rhs: QueryControlFlags) -> QueryControlFlags
fn bitxor(self, rhs: QueryControlFlags) -> QueryControlFlags
Performs the
^
operation. Read moresourceimpl BitXorAssign<QueryControlFlags> for QueryControlFlags
impl BitXorAssign<QueryControlFlags> for QueryControlFlags
sourcefn bitxor_assign(&mut self, rhs: QueryControlFlags)
fn bitxor_assign(&mut self, rhs: QueryControlFlags)
Performs the
^=
operation. Read moresourceimpl Clone for QueryControlFlags
impl Clone for QueryControlFlags
sourcefn clone(&self) -> QueryControlFlags
fn clone(&self) -> QueryControlFlags
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 QueryControlFlags
impl Debug for QueryControlFlags
sourceimpl Default for QueryControlFlags
impl Default for QueryControlFlags
sourcefn default() -> QueryControlFlags
fn default() -> QueryControlFlags
Returns the “default value” for a type. Read more
sourceimpl Display for QueryControlFlags
impl Display for QueryControlFlags
sourceimpl Hash for QueryControlFlags
impl Hash for QueryControlFlags
sourceimpl Not for QueryControlFlags
impl Not for QueryControlFlags
type Output = QueryControlFlags
type Output = QueryControlFlags
The resulting type after applying the
!
operator.sourcefn not(self) -> QueryControlFlags
fn not(self) -> QueryControlFlags
Performs the unary
!
operation. Read moresourceimpl Ord for QueryControlFlags
impl Ord for QueryControlFlags
sourcefn cmp(&self, other: &QueryControlFlags) -> Ordering
fn cmp(&self, other: &QueryControlFlags) -> 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<QueryControlFlags> for QueryControlFlags
impl PartialEq<QueryControlFlags> for QueryControlFlags
sourcefn eq(&self, other: &QueryControlFlags) -> bool
fn eq(&self, other: &QueryControlFlags) -> bool
sourceimpl PartialOrd<QueryControlFlags> for QueryControlFlags
impl PartialOrd<QueryControlFlags> for QueryControlFlags
sourcefn partial_cmp(&self, other: &QueryControlFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &QueryControlFlags) -> 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<QueryControlFlags> for QueryControlFlags
impl Sub<QueryControlFlags> for QueryControlFlags
type Output = QueryControlFlags
type Output = QueryControlFlags
The resulting type after applying the
-
operator.sourcefn sub(self, rhs: QueryControlFlags) -> QueryControlFlags
fn sub(self, rhs: QueryControlFlags) -> QueryControlFlags
Performs the
-
operation. Read moresourceimpl SubAssign<QueryControlFlags> for QueryControlFlags
impl SubAssign<QueryControlFlags> for QueryControlFlags
sourcefn sub_assign(&mut self, rhs: QueryControlFlags)
fn sub_assign(&mut self, rhs: QueryControlFlags)
Performs the
-=
operation. Read moreimpl Copy for QueryControlFlags
impl Eq for QueryControlFlags
impl StructuralEq for QueryControlFlags
impl StructuralPartialEq for QueryControlFlags
Auto Trait Implementations
impl RefUnwindSafe for QueryControlFlags
impl Send for QueryControlFlags
impl Sync for QueryControlFlags
impl Unpin for QueryControlFlags
impl UnwindSafe for QueryControlFlags
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