#[repr(C)]pub struct PipelineRasterizationLineStateCreateInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub line_rasterization_mode: LineRasterizationModeKHR,
pub stippled_line_enable: Bool32,
pub line_stipple_factor: u32,
pub line_stipple_pattern: u16,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§line_rasterization_mode: LineRasterizationModeKHR
§stippled_line_enable: Bool32
§line_stipple_factor: u32
§line_stipple_pattern: u16
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PipelineRasterizationLineStateCreateInfoKHR<'a>
impl<'a> PipelineRasterizationLineStateCreateInfoKHR<'a>
pub fn line_rasterization_mode( self, line_rasterization_mode: LineRasterizationModeKHR, ) -> Self
pub fn stippled_line_enable(self, stippled_line_enable: bool) -> Self
pub fn line_stipple_factor(self, line_stipple_factor: u32) -> Self
pub fn line_stipple_pattern(self, line_stipple_pattern: u16) -> Self
Trait Implementations§
source§impl<'a> Clone for PipelineRasterizationLineStateCreateInfoKHR<'a>
impl<'a> Clone for PipelineRasterizationLineStateCreateInfoKHR<'a>
source§fn clone(&self) -> PipelineRasterizationLineStateCreateInfoKHR<'a>
fn clone(&self) -> PipelineRasterizationLineStateCreateInfoKHR<'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 PipelineRasterizationLineStateCreateInfoKHR<'a>
impl<'a> Debug for PipelineRasterizationLineStateCreateInfoKHR<'a>
source§impl<'a> TaggedStructure for PipelineRasterizationLineStateCreateInfoKHR<'a>
impl<'a> TaggedStructure for PipelineRasterizationLineStateCreateInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_KHR
impl<'a> Copy for PipelineRasterizationLineStateCreateInfoKHR<'a>
impl ExtendsPipelineRasterizationStateCreateInfo for PipelineRasterizationLineStateCreateInfoKHR<'_>
impl Send for PipelineRasterizationLineStateCreateInfoKHR<'_>
impl Sync for PipelineRasterizationLineStateCreateInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for PipelineRasterizationLineStateCreateInfoKHR<'a>
impl<'a> RefUnwindSafe for PipelineRasterizationLineStateCreateInfoKHR<'a>
impl<'a> Unpin for PipelineRasterizationLineStateCreateInfoKHR<'a>
impl<'a> UnwindSafe for PipelineRasterizationLineStateCreateInfoKHR<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)