Struct screen_13::prelude::vk::PipelineRasterizationStateCreateInfo
source · #[repr(C)]pub struct PipelineRasterizationStateCreateInfo {Show 13 fields
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: PipelineRasterizationStateCreateFlags,
pub depth_clamp_enable: u32,
pub rasterizer_discard_enable: u32,
pub polygon_mode: PolygonMode,
pub cull_mode: CullModeFlags,
pub front_face: FrontFace,
pub depth_bias_enable: u32,
pub depth_bias_constant_factor: f32,
pub depth_bias_clamp: f32,
pub depth_bias_slope_factor: f32,
pub line_width: f32,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: PipelineRasterizationStateCreateFlags
§depth_clamp_enable: u32
§rasterizer_discard_enable: u32
§polygon_mode: PolygonMode
§cull_mode: CullModeFlags
§front_face: FrontFace
§depth_bias_enable: u32
§depth_bias_constant_factor: f32
§depth_bias_clamp: f32
§depth_bias_slope_factor: f32
§line_width: f32
Implementations§
source§impl PipelineRasterizationStateCreateInfo
impl PipelineRasterizationStateCreateInfo
pub fn builder<'a>() -> PipelineRasterizationStateCreateInfoBuilder<'a>
Trait Implementations§
source§impl Clone for PipelineRasterizationStateCreateInfo
impl Clone for PipelineRasterizationStateCreateInfo
source§fn clone(&self) -> PipelineRasterizationStateCreateInfo
fn clone(&self) -> PipelineRasterizationStateCreateInfo
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 Default for PipelineRasterizationStateCreateInfo
impl Default for PipelineRasterizationStateCreateInfo
source§fn default() -> PipelineRasterizationStateCreateInfo
fn default() -> PipelineRasterizationStateCreateInfo
Returns the “default value” for a type. Read more
source§impl TaggedStructure for PipelineRasterizationStateCreateInfo
impl TaggedStructure for PipelineRasterizationStateCreateInfo
const STRUCTURE_TYPE: StructureType = StructureType::PIPELINE_RASTERIZATION_STATE_CREATE_INFO
impl Copy for PipelineRasterizationStateCreateInfo
Auto Trait Implementations§
impl RefUnwindSafe for PipelineRasterizationStateCreateInfo
impl !Send for PipelineRasterizationStateCreateInfo
impl !Sync for PipelineRasterizationStateCreateInfo
impl Unpin for PipelineRasterizationStateCreateInfo
impl UnwindSafe for PipelineRasterizationStateCreateInfo
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.