pub struct VkCommandBufferUsageFlags {
pub one_time_submit: bool,
pub render_pass_continue: bool,
pub simultaneous_use: bool,
}
Expand description
Wrapper for VkCommandBufferUsageFlags.
Use the macro VkCommandBufferUsageFlags!
as an alternative method to create a structure. For example, these two snippets return the same value:
VkCommandBufferUsageFlags!(one_time_submit, render_pass_continue)
VkCommandBufferUsageFlags {
one_time_submit: true,
render_pass_continue: true,
..VkCommandBufferUsageFlags::none()
}
Fields§
§one_time_submit: bool
§render_pass_continue: bool
§simultaneous_use: bool
Implementations§
Trait Implementations§
Source§impl Clone for VkCommandBufferUsageFlags
impl Clone for VkCommandBufferUsageFlags
Source§fn clone(&self) -> VkCommandBufferUsageFlags
fn clone(&self) -> VkCommandBufferUsageFlags
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 moreSource§impl Debug for VkCommandBufferUsageFlags
impl Debug for VkCommandBufferUsageFlags
Source§impl Default for VkCommandBufferUsageFlags
impl Default for VkCommandBufferUsageFlags
Source§fn default() -> VkCommandBufferUsageFlags
fn default() -> VkCommandBufferUsageFlags
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VkCommandBufferUsageFlags
impl RefUnwindSafe for VkCommandBufferUsageFlags
impl Send for VkCommandBufferUsageFlags
impl Sync for VkCommandBufferUsageFlags
impl Unpin for VkCommandBufferUsageFlags
impl UnwindSafe for VkCommandBufferUsageFlags
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