pub struct DescriptorSetLayoutCreateInfo {
pub flags: DescriptorSetLayoutCreateFlags,
pub bindings: BTreeMap<u32, DescriptorSetLayoutBinding>,
pub _ne: NonExhaustive,
}Expand description
Parameters to create a new DescriptorSetLayout.
Fields§
§flags: DescriptorSetLayoutCreateFlagsSpecifies how to create the descriptor set layout.
bindings: BTreeMap<u32, DescriptorSetLayoutBinding>The bindings of the descriptor set layout. These are specified according to binding number.
It is generally advisable to keep the binding numbers low. Higher binding numbers may use more memory inside Vulkan.
The default value is empty.
_ne: NonExhaustiveTrait Implementations§
Source§impl Clone for DescriptorSetLayoutCreateInfo
impl Clone for DescriptorSetLayoutCreateInfo
Source§fn clone(&self) -> DescriptorSetLayoutCreateInfo
fn clone(&self) -> DescriptorSetLayoutCreateInfo
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for DescriptorSetLayoutCreateInfo
impl !RefUnwindSafe for DescriptorSetLayoutCreateInfo
impl Send for DescriptorSetLayoutCreateInfo
impl Sync for DescriptorSetLayoutCreateInfo
impl Unpin for DescriptorSetLayoutCreateInfo
impl !UnwindSafe for DescriptorSetLayoutCreateInfo
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