#[repr(C)]pub struct SetDescriptorBufferOffsetsInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub stage_flags: ShaderStageFlags,
pub layout: PipelineLayout,
pub first_set: u32,
pub set_count: u32,
pub p_buffer_indices: *const u32,
pub p_offsets: *const u64,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *const c_void§stage_flags: ShaderStageFlags§layout: PipelineLayout§first_set: u32§set_count: u32§p_buffer_indices: *const u32§p_offsets: *const u64§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> SetDescriptorBufferOffsetsInfoEXT<'a>
impl<'a> SetDescriptorBufferOffsetsInfoEXT<'a>
pub fn stage_flags( self, stage_flags: ShaderStageFlags, ) -> SetDescriptorBufferOffsetsInfoEXT<'a>
pub fn layout( self, layout: PipelineLayout, ) -> SetDescriptorBufferOffsetsInfoEXT<'a>
pub fn first_set(self, first_set: u32) -> SetDescriptorBufferOffsetsInfoEXT<'a>
pub fn buffer_indices( self, buffer_indices: &'a [u32], ) -> SetDescriptorBufferOffsetsInfoEXT<'a>
pub fn offsets( self, offsets: &'a [u64], ) -> SetDescriptorBufferOffsetsInfoEXT<'a>
Sourcepub fn push_next<T>(
self,
next: &'a mut T,
) -> SetDescriptorBufferOffsetsInfoEXT<'a>where
T: ExtendsSetDescriptorBufferOffsetsInfoEXT + ?Sized,
pub fn push_next<T>(
self,
next: &'a mut T,
) -> SetDescriptorBufferOffsetsInfoEXT<'a>where
T: ExtendsSetDescriptorBufferOffsetsInfoEXT + ?Sized,
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 SetDescriptorBufferOffsetsInfoEXT<'a>
impl<'a> Clone for SetDescriptorBufferOffsetsInfoEXT<'a>
Source§fn clone(&self) -> SetDescriptorBufferOffsetsInfoEXT<'a>
fn clone(&self) -> SetDescriptorBufferOffsetsInfoEXT<'a>
Returns a duplicate of the value. Read more
1.0.0§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 SetDescriptorBufferOffsetsInfoEXT<'a>
impl<'a> Debug for SetDescriptorBufferOffsetsInfoEXT<'a>
Source§impl Default for SetDescriptorBufferOffsetsInfoEXT<'_>
impl Default for SetDescriptorBufferOffsetsInfoEXT<'_>
Source§fn default() -> SetDescriptorBufferOffsetsInfoEXT<'_>
fn default() -> SetDescriptorBufferOffsetsInfoEXT<'_>
Returns the “default value” for a type. Read more
Source§impl<'a> TaggedStructure for SetDescriptorBufferOffsetsInfoEXT<'a>
impl<'a> TaggedStructure for SetDescriptorBufferOffsetsInfoEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::SET_DESCRIPTOR_BUFFER_OFFSETS_INFO_EXT
impl<'a> Copy for SetDescriptorBufferOffsetsInfoEXT<'a>
impl Send for SetDescriptorBufferOffsetsInfoEXT<'_>
impl Sync for SetDescriptorBufferOffsetsInfoEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for SetDescriptorBufferOffsetsInfoEXT<'a>
impl<'a> RefUnwindSafe for SetDescriptorBufferOffsetsInfoEXT<'a>
impl<'a> Unpin for SetDescriptorBufferOffsetsInfoEXT<'a>
impl<'a> UnwindSafe for SetDescriptorBufferOffsetsInfoEXT<'a>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)