#[repr(C)]pub struct IndirectCommandsLayoutTokenEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub ty: IndirectCommandsTokenTypeEXT,
pub data: IndirectCommandsTokenDataEXT,
pub offset: u32,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *const c_void§ty: IndirectCommandsTokenTypeEXT§data: IndirectCommandsTokenDataEXT§offset: u32§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> IndirectCommandsLayoutTokenEXT<'a>
impl<'a> IndirectCommandsLayoutTokenEXT<'a>
pub fn ty(self, ty: IndirectCommandsTokenTypeEXT) -> Self
pub fn data(self, data: IndirectCommandsTokenDataEXT) -> Self
pub fn offset(self, offset: u32) -> Self
Sourcepub fn push_next<T: ExtendsIndirectCommandsLayoutTokenEXT + ?Sized>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsIndirectCommandsLayoutTokenEXT + ?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 IndirectCommandsLayoutTokenEXT<'a>
impl<'a> Clone for IndirectCommandsLayoutTokenEXT<'a>
Source§fn clone(&self) -> IndirectCommandsLayoutTokenEXT<'a>
fn clone(&self) -> IndirectCommandsLayoutTokenEXT<'a>
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 IndirectCommandsLayoutTokenEXT<'_>
Available on crate feature debug only.
impl Debug for IndirectCommandsLayoutTokenEXT<'_>
Available on crate feature
debug only.Source§impl Default for IndirectCommandsLayoutTokenEXT<'_>
impl Default for IndirectCommandsLayoutTokenEXT<'_>
Source§impl<'a> TaggedStructure for IndirectCommandsLayoutTokenEXT<'a>
impl<'a> TaggedStructure for IndirectCommandsLayoutTokenEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::INDIRECT_COMMANDS_LAYOUT_TOKEN_EXT
impl<'a> Copy for IndirectCommandsLayoutTokenEXT<'a>
impl Send for IndirectCommandsLayoutTokenEXT<'_>
impl Sync for IndirectCommandsLayoutTokenEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for IndirectCommandsLayoutTokenEXT<'a>
impl<'a> RefUnwindSafe for IndirectCommandsLayoutTokenEXT<'a>
impl<'a> Unpin for IndirectCommandsLayoutTokenEXT<'a>
impl<'a> UnwindSafe for IndirectCommandsLayoutTokenEXT<'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