Struct ash::vk::PipelineInputAssemblyStateCreateInfo
source · #[repr(C)]pub struct PipelineInputAssemblyStateCreateInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: PipelineInputAssemblyStateCreateFlags,
pub topology: PrimitiveTopology,
pub primitive_restart_enable: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: PipelineInputAssemblyStateCreateFlags
§topology: PrimitiveTopology
§primitive_restart_enable: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PipelineInputAssemblyStateCreateInfo<'a>
impl<'a> PipelineInputAssemblyStateCreateInfo<'a>
pub fn flags(self, flags: PipelineInputAssemblyStateCreateFlags) -> Self
pub fn topology(self, topology: PrimitiveTopology) -> Self
pub fn primitive_restart_enable(self, primitive_restart_enable: bool) -> Self
Trait Implementations§
source§impl<'a> Clone for PipelineInputAssemblyStateCreateInfo<'a>
impl<'a> Clone for PipelineInputAssemblyStateCreateInfo<'a>
source§fn clone(&self) -> PipelineInputAssemblyStateCreateInfo<'a>
fn clone(&self) -> PipelineInputAssemblyStateCreateInfo<'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 PipelineInputAssemblyStateCreateInfo<'a>
impl<'a> Debug for PipelineInputAssemblyStateCreateInfo<'a>
source§impl Default for PipelineInputAssemblyStateCreateInfo<'_>
impl Default for PipelineInputAssemblyStateCreateInfo<'_>
source§impl<'a> TaggedStructure for PipelineInputAssemblyStateCreateInfo<'a>
impl<'a> TaggedStructure for PipelineInputAssemblyStateCreateInfo<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO
impl<'a> Copy for PipelineInputAssemblyStateCreateInfo<'a>
impl Send for PipelineInputAssemblyStateCreateInfo<'_>
impl Sync for PipelineInputAssemblyStateCreateInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for PipelineInputAssemblyStateCreateInfo<'a>
impl<'a> RefUnwindSafe for PipelineInputAssemblyStateCreateInfo<'a>
impl<'a> Unpin for PipelineInputAssemblyStateCreateInfo<'a>
impl<'a> UnwindSafe for PipelineInputAssemblyStateCreateInfo<'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