#[repr(C)]pub struct PipelineInputAssemblyStateCreateInfo {
pub sType: StructureType,
pub pNext: *const c_void,
pub flags: PipelineInputAssemblyStateCreateFlags,
pub topology: PrimitiveTopology,
pub primitiveRestartEnable: Bool32,
}Fields§
§sType: StructureType§pNext: *const c_void§flags: PipelineInputAssemblyStateCreateFlags§topology: PrimitiveTopology§primitiveRestartEnable: Bool32Implementations§
Source§impl PipelineInputAssemblyStateCreateInfo
impl PipelineInputAssemblyStateCreateInfo
pub fn new() -> Self
pub fn sType(self, sType: StructureType) -> Self
pub fn pNext(self, pNext: *const c_void) -> Self
pub fn flags(self, flags: PipelineInputAssemblyStateCreateFlags) -> Self
pub fn topology(self, topology: PrimitiveTopology) -> Self
pub fn primitiveRestartEnable(self, primitiveRestartEnable: Bool32) -> Self
Trait Implementations§
Source§impl Clone for PipelineInputAssemblyStateCreateInfo
impl Clone for PipelineInputAssemblyStateCreateInfo
Source§fn clone(&self) -> PipelineInputAssemblyStateCreateInfo
fn clone(&self) -> PipelineInputAssemblyStateCreateInfo
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 Default for PipelineInputAssemblyStateCreateInfo
impl Default for PipelineInputAssemblyStateCreateInfo
Source§fn default() -> PipelineInputAssemblyStateCreateInfo
fn default() -> PipelineInputAssemblyStateCreateInfo
Returns the “default value” for a type. Read more
impl Copy for PipelineInputAssemblyStateCreateInfo
Auto Trait Implementations§
impl Freeze for PipelineInputAssemblyStateCreateInfo
impl RefUnwindSafe for PipelineInputAssemblyStateCreateInfo
impl !Send for PipelineInputAssemblyStateCreateInfo
impl !Sync for PipelineInputAssemblyStateCreateInfo
impl Unpin for PipelineInputAssemblyStateCreateInfo
impl UnwindSafe for PipelineInputAssemblyStateCreateInfo
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