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