#[repr(C)]pub enum VkSampleCountFlagBits {
VK_SAMPLE_COUNT_1_BIT = 1,
VK_SAMPLE_COUNT_2_BIT = 2,
VK_SAMPLE_COUNT_4_BIT = 4,
VK_SAMPLE_COUNT_8_BIT = 8,
VK_SAMPLE_COUNT_16_BIT = 16,
VK_SAMPLE_COUNT_32_BIT = 32,
VK_SAMPLE_COUNT_64_BIT = 64,
VK_SAMPLE_COUNT_FLAG_BITS_MAX_ENUM = 2_147_483_647,
}Expand description
enum VkSampleCountFlagBits from VK_VERSION_1_0
Variants§
VK_SAMPLE_COUNT_1_BIT = 1
VK_SAMPLE_COUNT_2_BIT = 2
VK_SAMPLE_COUNT_4_BIT = 4
VK_SAMPLE_COUNT_8_BIT = 8
VK_SAMPLE_COUNT_16_BIT = 16
VK_SAMPLE_COUNT_32_BIT = 32
VK_SAMPLE_COUNT_64_BIT = 64
VK_SAMPLE_COUNT_FLAG_BITS_MAX_ENUM = 2_147_483_647
Implementations§
Source§impl VkSampleCountFlagBits
impl VkSampleCountFlagBits
Sourcepub fn combine(bits: &[Self]) -> VkSampleCountFlags
pub fn combine(bits: &[Self]) -> VkSampleCountFlags
Combine bits together
Sourcepub fn check(value: VkSampleCountFlags, bits: Self) -> bool
pub fn check(value: VkSampleCountFlags, bits: Self) -> bool
Check if the bitfield has a value
Trait Implementations§
Source§impl BitAnd for VkSampleCountFlagBits
impl BitAnd for VkSampleCountFlagBits
Source§impl BitAnd<u32> for VkSampleCountFlagBits
impl BitAnd<u32> for VkSampleCountFlagBits
Source§fn bitand(self, rhs: VkSampleCountFlags) -> VkSampleCountFlags
fn bitand(self, rhs: VkSampleCountFlags) -> VkSampleCountFlags
Performs the
& operation. Read moreSource§impl BitOr for VkSampleCountFlagBits
impl BitOr for VkSampleCountFlagBits
Source§impl BitOr<u32> for VkSampleCountFlagBits
impl BitOr<u32> for VkSampleCountFlagBits
Source§fn bitor(self, rhs: VkSampleCountFlags) -> VkSampleCountFlags
fn bitor(self, rhs: VkSampleCountFlags) -> VkSampleCountFlags
Performs the
| operation. Read moreSource§impl BitXor for VkSampleCountFlagBits
impl BitXor for VkSampleCountFlagBits
Source§impl BitXor<u32> for VkSampleCountFlagBits
impl BitXor<u32> for VkSampleCountFlagBits
Source§fn bitxor(self, rhs: VkSampleCountFlags) -> VkSampleCountFlags
fn bitxor(self, rhs: VkSampleCountFlags) -> VkSampleCountFlags
Performs the
^ operation. Read moreSource§impl Clone for VkSampleCountFlagBits
impl Clone for VkSampleCountFlagBits
Source§fn clone(&self) -> VkSampleCountFlagBits
fn clone(&self) -> VkSampleCountFlagBits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VkSampleCountFlagBits
Source§impl Debug for VkSampleCountFlagBits
impl Debug for VkSampleCountFlagBits
impl Eq for VkSampleCountFlagBits
Source§impl Hash for VkSampleCountFlagBits
impl Hash for VkSampleCountFlagBits
Source§impl Not for VkSampleCountFlagBits
impl Not for VkSampleCountFlagBits
Source§impl Ord for VkSampleCountFlagBits
impl Ord for VkSampleCountFlagBits
Source§fn cmp(&self, other: &VkSampleCountFlagBits) -> Ordering
fn cmp(&self, other: &VkSampleCountFlagBits) -> Ordering
1.21.0 (const: unstable) · 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 VkSampleCountFlagBits
impl PartialEq for VkSampleCountFlagBits
Source§impl PartialOrd for VkSampleCountFlagBits
impl PartialOrd for VkSampleCountFlagBits
impl StructuralPartialEq for VkSampleCountFlagBits
Auto Trait Implementations§
impl Freeze for VkSampleCountFlagBits
impl RefUnwindSafe for VkSampleCountFlagBits
impl Send for VkSampleCountFlagBits
impl Sync for VkSampleCountFlagBits
impl Unpin for VkSampleCountFlagBits
impl UnsafeUnpin for VkSampleCountFlagBits
impl UnwindSafe for VkSampleCountFlagBits
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