#[repr(C)]pub enum VkCommandPoolCreateFlagBits {
VK_COMMAND_POOL_CREATE_TRANSIENT_BIT = 1,
VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT = 2,
VK_COMMAND_POOL_CREATE_PROTECTED_BIT = 4,
VK_COMMAND_POOL_CREATE_FLAG_BITS_MAX_ENUM = 2_147_483_647,
}Expand description
enum VkCommandPoolCreateFlagBits from VK_VERSION_1_0
Variants§
VK_COMMAND_POOL_CREATE_TRANSIENT_BIT = 1
VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT = 2
VK_COMMAND_POOL_CREATE_PROTECTED_BIT = 4
VK_COMMAND_POOL_CREATE_FLAG_BITS_MAX_ENUM = 2_147_483_647
Implementations§
Source§impl VkCommandPoolCreateFlagBits
impl VkCommandPoolCreateFlagBits
Sourcepub fn combine(bits: &[Self]) -> VkCommandPoolCreateFlags
pub fn combine(bits: &[Self]) -> VkCommandPoolCreateFlags
Combine bits together
Sourcepub fn check(value: VkCommandPoolCreateFlags, bits: Self) -> bool
pub fn check(value: VkCommandPoolCreateFlags, bits: Self) -> bool
Check if the bitfield has a value
Trait Implementations§
Source§impl BitAnd for VkCommandPoolCreateFlagBits
impl BitAnd for VkCommandPoolCreateFlagBits
Source§impl BitAnd<u32> for VkCommandPoolCreateFlagBits
impl BitAnd<u32> for VkCommandPoolCreateFlagBits
Source§fn bitand(self, rhs: VkCommandPoolCreateFlags) -> VkCommandPoolCreateFlags
fn bitand(self, rhs: VkCommandPoolCreateFlags) -> VkCommandPoolCreateFlags
Performs the
& operation. Read moreSource§impl BitOr for VkCommandPoolCreateFlagBits
impl BitOr for VkCommandPoolCreateFlagBits
Source§impl BitOr<u32> for VkCommandPoolCreateFlagBits
impl BitOr<u32> for VkCommandPoolCreateFlagBits
Source§fn bitor(self, rhs: VkCommandPoolCreateFlags) -> VkCommandPoolCreateFlags
fn bitor(self, rhs: VkCommandPoolCreateFlags) -> VkCommandPoolCreateFlags
Performs the
| operation. Read moreSource§impl BitXor for VkCommandPoolCreateFlagBits
impl BitXor for VkCommandPoolCreateFlagBits
Source§impl BitXor<u32> for VkCommandPoolCreateFlagBits
impl BitXor<u32> for VkCommandPoolCreateFlagBits
Source§fn bitxor(self, rhs: VkCommandPoolCreateFlags) -> VkCommandPoolCreateFlags
fn bitxor(self, rhs: VkCommandPoolCreateFlags) -> VkCommandPoolCreateFlags
Performs the
^ operation. Read moreSource§impl Clone for VkCommandPoolCreateFlagBits
impl Clone for VkCommandPoolCreateFlagBits
Source§fn clone(&self) -> VkCommandPoolCreateFlagBits
fn clone(&self) -> VkCommandPoolCreateFlagBits
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 VkCommandPoolCreateFlagBits
Source§impl Debug for VkCommandPoolCreateFlagBits
impl Debug for VkCommandPoolCreateFlagBits
impl Eq for VkCommandPoolCreateFlagBits
Source§impl Hash for VkCommandPoolCreateFlagBits
impl Hash for VkCommandPoolCreateFlagBits
Source§impl Not for VkCommandPoolCreateFlagBits
impl Not for VkCommandPoolCreateFlagBits
Source§impl Ord for VkCommandPoolCreateFlagBits
impl Ord for VkCommandPoolCreateFlagBits
Source§fn cmp(&self, other: &VkCommandPoolCreateFlagBits) -> Ordering
fn cmp(&self, other: &VkCommandPoolCreateFlagBits) -> 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 PartialOrd for VkCommandPoolCreateFlagBits
impl PartialOrd for VkCommandPoolCreateFlagBits
impl StructuralPartialEq for VkCommandPoolCreateFlagBits
Auto Trait Implementations§
impl Freeze for VkCommandPoolCreateFlagBits
impl RefUnwindSafe for VkCommandPoolCreateFlagBits
impl Send for VkCommandPoolCreateFlagBits
impl Sync for VkCommandPoolCreateFlagBits
impl Unpin for VkCommandPoolCreateFlagBits
impl UnsafeUnpin for VkCommandPoolCreateFlagBits
impl UnwindSafe for VkCommandPoolCreateFlagBits
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