pub struct PipelineTessellationStateCreateInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: PipelineTessellationStateCreateFlags,
pub patch_control_points: u32,
/* private fields */
}Expand description
Native structure VkPipelineTessellationStateCreateInfo.
Fields§
§s_type: StructureTypeNative field sType.
p_next: *const c_voidNative field pNext.
flags: PipelineTessellationStateCreateFlagsNative field flags.
patch_control_points: u32Native field patchControlPoints.
Implementations§
Source§impl<'a> PipelineTessellationStateCreateInfo<'a>
impl<'a> PipelineTessellationStateCreateInfo<'a>
Sourcepub fn new() -> Self
pub fn new() -> Self
Construct the record with its canonical sType tag and default native state.
Sourcepub fn set_flags(self, value: PipelineTessellationStateCreateFlags) -> Self
pub fn set_flags(self, value: PipelineTessellationStateCreateFlags) -> Self
Set native field flags without native effects.
Sourcepub fn set_patch_control_points(self, value: u32) -> Self
pub fn set_patch_control_points(self, value: u32) -> Self
Set native field patchControlPoints without native effects.
Sourcepub fn push_next<T: Extends<Self>>(
self,
next: &'a mut T,
) -> Result<Self, ConstructionError>
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
§Errors
Returns a construction error for a changed structure tag or already-linked node.
Trait Implementations§
Source§impl<'a> Default for PipelineTessellationStateCreateInfo<'a>
impl<'a> Default for PipelineTessellationStateCreateInfo<'a>
impl<'a, 'root> Extends<PipelineTessellationStateCreateInfo<'root>> for PipelineTessellationDomainOriginStateCreateInfo<'a>
Auto Trait Implementations§
impl<'a> !Send for PipelineTessellationStateCreateInfo<'a>
impl<'a> !Sync for PipelineTessellationStateCreateInfo<'a>
impl<'a> !UnwindSafe for PipelineTessellationStateCreateInfo<'a>
impl<'a> Forget for PipelineTessellationStateCreateInfo<'a>
impl<'a> Freeze for PipelineTessellationStateCreateInfo<'a>
impl<'a> Move for PipelineTessellationStateCreateInfo<'a>
impl<'a> RefUnwindSafe for PipelineTessellationStateCreateInfo<'a>
impl<'a> Unpin for PipelineTessellationStateCreateInfo<'a>
impl<'a> UnsafeUnpin for PipelineTessellationStateCreateInfo<'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