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