Struct ash::vk::PushDescriptorSetWithTemplateInfoKHR
source · #[repr(C)]pub struct PushDescriptorSetWithTemplateInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub descriptor_update_template: DescriptorUpdateTemplate,
pub layout: PipelineLayout,
pub set: u32,
pub p_data: *const c_void,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§descriptor_update_template: DescriptorUpdateTemplate
§layout: PipelineLayout
§set: u32
§p_data: *const c_void
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PushDescriptorSetWithTemplateInfoKHR<'a>
impl<'a> PushDescriptorSetWithTemplateInfoKHR<'a>
pub fn descriptor_update_template( self, descriptor_update_template: DescriptorUpdateTemplate, ) -> Self
pub fn layout(self, layout: PipelineLayout) -> Self
pub fn set(self, set: u32) -> Self
pub fn data(self, data: *const c_void) -> Self
sourcepub fn push_next<T: ExtendsPushDescriptorSetWithTemplateInfoKHR + ?Sized>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsPushDescriptorSetWithTemplateInfoKHR + ?Sized>( self, next: &'a mut T, ) -> Self
Prepends the given extension struct between the root and the first pointer. This
method only exists on structs that can be passed to a function directly. Only
valid extension structs can be pushed into the chain.
If the chain looks like A -> B -> C
, and you call x.push_next(&mut D)
, then the
chain will look like A -> D -> B -> C
.
Trait Implementations§
source§impl<'a> Clone for PushDescriptorSetWithTemplateInfoKHR<'a>
impl<'a> Clone for PushDescriptorSetWithTemplateInfoKHR<'a>
source§fn clone(&self) -> PushDescriptorSetWithTemplateInfoKHR<'a>
fn clone(&self) -> PushDescriptorSetWithTemplateInfoKHR<'a>
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 moresource§impl<'a> Debug for PushDescriptorSetWithTemplateInfoKHR<'a>
impl<'a> Debug for PushDescriptorSetWithTemplateInfoKHR<'a>
source§impl Default for PushDescriptorSetWithTemplateInfoKHR<'_>
impl Default for PushDescriptorSetWithTemplateInfoKHR<'_>
source§impl<'a> TaggedStructure for PushDescriptorSetWithTemplateInfoKHR<'a>
impl<'a> TaggedStructure for PushDescriptorSetWithTemplateInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PUSH_DESCRIPTOR_SET_WITH_TEMPLATE_INFO_KHR
impl<'a> Copy for PushDescriptorSetWithTemplateInfoKHR<'a>
impl Send for PushDescriptorSetWithTemplateInfoKHR<'_>
impl Sync for PushDescriptorSetWithTemplateInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for PushDescriptorSetWithTemplateInfoKHR<'a>
impl<'a> RefUnwindSafe for PushDescriptorSetWithTemplateInfoKHR<'a>
impl<'a> Unpin for PushDescriptorSetWithTemplateInfoKHR<'a>
impl<'a> UnwindSafe for PushDescriptorSetWithTemplateInfoKHR<'a>
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