Struct VkSample Count Flags 
pub struct VkSampleCountFlags(/* private fields */);Expand description
Implementations§
§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
pub const fn contains(self, other: SampleCountFlags) -> bool
pub const fn contains(self, other: SampleCountFlags) -> bool
Returns whether other is a subset of self
§impl SampleCountFlags
 
impl SampleCountFlags
pub const TYPE_1: SampleCountFlags
pub const TYPE_1: SampleCountFlags
Sample count 1 supported
pub const TYPE_2: SampleCountFlags
pub const TYPE_2: SampleCountFlags
Sample count 2 supported
pub const TYPE_4: SampleCountFlags
pub const TYPE_4: SampleCountFlags
Sample count 4 supported
pub const TYPE_8: SampleCountFlags
pub const TYPE_8: SampleCountFlags
Sample count 8 supported
pub const TYPE_16: SampleCountFlags
pub const TYPE_16: SampleCountFlags
Sample count 16 supported
pub const TYPE_32: SampleCountFlags
pub const TYPE_32: SampleCountFlags
Sample count 32 supported
pub const TYPE_64: SampleCountFlags
pub const TYPE_64: SampleCountFlags
Sample count 64 supported
Trait Implementations§
§impl BitAnd for SampleCountFlags
 
impl BitAnd for SampleCountFlags
§type Output = SampleCountFlags
 
type Output = SampleCountFlags
The resulting type after applying the 
& operator.§fn bitand(self, rhs: SampleCountFlags) -> SampleCountFlags
 
fn bitand(self, rhs: SampleCountFlags) -> SampleCountFlags
Performs the 
& operation. Read more§impl BitAndAssign for SampleCountFlags
 
impl BitAndAssign for SampleCountFlags
§fn bitand_assign(&mut self, rhs: SampleCountFlags)
 
fn bitand_assign(&mut self, rhs: SampleCountFlags)
Performs the 
&= operation. Read more§impl BitOr for SampleCountFlags
 
impl BitOr for SampleCountFlags
§type Output = SampleCountFlags
 
type Output = SampleCountFlags
The resulting type after applying the 
| operator.§fn bitor(self, rhs: SampleCountFlags) -> SampleCountFlags
 
fn bitor(self, rhs: SampleCountFlags) -> SampleCountFlags
Performs the 
| operation. Read more§impl BitOrAssign for SampleCountFlags
 
impl BitOrAssign for SampleCountFlags
§fn bitor_assign(&mut self, rhs: SampleCountFlags)
 
fn bitor_assign(&mut self, rhs: SampleCountFlags)
Performs the 
|= operation. Read more§impl BitXor for SampleCountFlags
 
impl BitXor for SampleCountFlags
§type Output = SampleCountFlags
 
type Output = SampleCountFlags
The resulting type after applying the 
^ operator.§fn bitxor(self, rhs: SampleCountFlags) -> SampleCountFlags
 
fn bitxor(self, rhs: SampleCountFlags) -> SampleCountFlags
Performs the 
^ operation. Read more§impl BitXorAssign for SampleCountFlags
 
impl BitXorAssign for SampleCountFlags
§fn bitxor_assign(&mut self, rhs: SampleCountFlags)
 
fn bitxor_assign(&mut self, rhs: SampleCountFlags)
Performs the 
^= operation. Read more§impl Clone for SampleCountFlags
 
impl Clone for SampleCountFlags
§fn clone(&self) -> SampleCountFlags
 
fn clone(&self) -> SampleCountFlags
Returns a duplicate 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 more§impl Debug for SampleCountFlags
 
impl Debug for SampleCountFlags
§impl Default for SampleCountFlags
 
impl Default for SampleCountFlags
§fn default() -> SampleCountFlags
 
fn default() -> SampleCountFlags
Returns the “default value” for a type. Read more
§impl Hash for SampleCountFlags
 
impl Hash for SampleCountFlags
§impl Not for SampleCountFlags
 
impl Not for SampleCountFlags
§type Output = SampleCountFlags
 
type Output = SampleCountFlags
The resulting type after applying the 
! operator.§fn not(self) -> SampleCountFlags
 
fn not(self) -> SampleCountFlags
Performs the unary 
! operation. Read more§impl Ord for SampleCountFlags
 
impl Ord for SampleCountFlags
§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
§impl PartialEq for SampleCountFlags
 
impl PartialEq for SampleCountFlags
§impl PartialOrd for SampleCountFlags
 
impl PartialOrd for SampleCountFlags
impl Copy for SampleCountFlags
impl Eq for SampleCountFlags
impl StructuralPartialEq for SampleCountFlags
Auto Trait Implementations§
impl Freeze for SampleCountFlags
impl RefUnwindSafe for SampleCountFlags
impl Send for SampleCountFlags
impl Sync for SampleCountFlags
impl Unpin for SampleCountFlags
impl UnwindSafe for SampleCountFlags
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