Struct screen_13::prelude::vk::SampleCountFlags
source · pub struct SampleCountFlags(_);Expand description
Implementations§
source§impl SampleCountFlags
impl SampleCountFlags
pub const fn empty() -> SampleCountFlags
pub const fn from_raw(x: u32) -> SampleCountFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: SampleCountFlags) -> bool
sourcepub const fn contains(self, other: SampleCountFlags) -> bool
pub const fn contains(self, other: SampleCountFlags) -> bool
Returns whether other is a subset of self
source§impl SampleCountFlags
impl SampleCountFlags
sourcepub const TYPE_1: SampleCountFlags = Self(1)
pub const TYPE_1: SampleCountFlags = Self(1)
Sample count 1 supported
sourcepub const TYPE_2: SampleCountFlags = Self(2)
pub const TYPE_2: SampleCountFlags = Self(2)
Sample count 2 supported
sourcepub const TYPE_4: SampleCountFlags = Self(4)
pub const TYPE_4: SampleCountFlags = Self(4)
Sample count 4 supported
sourcepub const TYPE_8: SampleCountFlags = Self(8)
pub const TYPE_8: SampleCountFlags = Self(8)
Sample count 8 supported
sourcepub const TYPE_16: SampleCountFlags = Self(16)
pub const TYPE_16: SampleCountFlags = Self(16)
Sample count 16 supported
sourcepub const TYPE_32: SampleCountFlags = Self(32)
pub const TYPE_32: SampleCountFlags = Self(32)
Sample count 32 supported
sourcepub const TYPE_64: SampleCountFlags = Self(64)
pub const TYPE_64: SampleCountFlags = Self(64)
Sample count 64 supported
Trait Implementations§
source§impl BitAnd<SampleCountFlags> for SampleCountFlags
impl BitAnd<SampleCountFlags> for SampleCountFlags
§type Output = SampleCountFlags
type Output = SampleCountFlags
The resulting type after applying the
& operator.source§fn bitand(self, rhs: SampleCountFlags) -> SampleCountFlags
fn bitand(self, rhs: SampleCountFlags) -> SampleCountFlags
Performs the
& operation. Read moresource§impl BitAndAssign<SampleCountFlags> for SampleCountFlags
impl BitAndAssign<SampleCountFlags> for SampleCountFlags
source§fn bitand_assign(&mut self, rhs: SampleCountFlags)
fn bitand_assign(&mut self, rhs: SampleCountFlags)
Performs the
&= operation. Read moresource§impl BitOr<SampleCountFlags> for SampleCountFlags
impl BitOr<SampleCountFlags> for SampleCountFlags
§type Output = SampleCountFlags
type Output = SampleCountFlags
The resulting type after applying the
| operator.source§fn bitor(self, rhs: SampleCountFlags) -> SampleCountFlags
fn bitor(self, rhs: SampleCountFlags) -> SampleCountFlags
Performs the
| operation. Read moresource§impl BitOrAssign<SampleCountFlags> for SampleCountFlags
impl BitOrAssign<SampleCountFlags> for SampleCountFlags
source§fn bitor_assign(&mut self, rhs: SampleCountFlags)
fn bitor_assign(&mut self, rhs: SampleCountFlags)
Performs the
|= operation. Read moresource§impl BitXor<SampleCountFlags> for SampleCountFlags
impl BitXor<SampleCountFlags> for SampleCountFlags
§type Output = SampleCountFlags
type Output = SampleCountFlags
The resulting type after applying the
^ operator.source§fn bitxor(self, rhs: SampleCountFlags) -> SampleCountFlags
fn bitxor(self, rhs: SampleCountFlags) -> SampleCountFlags
Performs the
^ operation. Read moresource§impl BitXorAssign<SampleCountFlags> for SampleCountFlags
impl BitXorAssign<SampleCountFlags> for SampleCountFlags
source§fn bitxor_assign(&mut self, rhs: SampleCountFlags)
fn bitxor_assign(&mut self, rhs: SampleCountFlags)
Performs the
^= operation. Read moresource§impl Clone for SampleCountFlags
impl Clone for SampleCountFlags
source§fn clone(&self) -> SampleCountFlags
fn clone(&self) -> SampleCountFlags
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 SampleCountFlags
impl Debug for SampleCountFlags
source§impl Default for SampleCountFlags
impl Default for SampleCountFlags
source§fn default() -> SampleCountFlags
fn default() -> SampleCountFlags
Returns the “default value” for a type. Read more
source§impl Hash for SampleCountFlags
impl Hash for SampleCountFlags
source§impl Not for SampleCountFlags
impl Not for SampleCountFlags
§type Output = SampleCountFlags
type Output = SampleCountFlags
The resulting type after applying the
! operator.source§fn not(self) -> SampleCountFlags
fn not(self) -> SampleCountFlags
Performs the unary
! operation. Read moresource§impl Ord for SampleCountFlags
impl Ord for SampleCountFlags
source§fn cmp(&self, other: &SampleCountFlags) -> Ordering
fn cmp(&self, other: &SampleCountFlags) -> 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<SampleCountFlags> for SampleCountFlags
impl PartialEq<SampleCountFlags> for SampleCountFlags
source§fn eq(&self, other: &SampleCountFlags) -> bool
fn eq(&self, other: &SampleCountFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<SampleCountFlags> for SampleCountFlags
impl PartialOrd<SampleCountFlags> for SampleCountFlags
source§fn partial_cmp(&self, other: &SampleCountFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &SampleCountFlags) -> 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