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