pub struct PrimitiveState {
pub topology: Option<PrimitiveTopology>,
pub strip_index_format: Option<IndexFormat>,
pub front_face: Option<FrontFace>,
pub cull_mode: Option<CullMode>,
pub unclipped_depth: Option<bool>,
/* private fields */
}Fields§
§topology: Option<PrimitiveTopology>§strip_index_format: Option<IndexFormat>§front_face: Option<FrontFace>§cull_mode: Option<CullMode>§unclipped_depth: Option<bool>Implementations§
Source§impl PrimitiveState
impl PrimitiveState
pub fn new() -> Self
pub fn with_extension(self, extension: PrimitiveStateExtension) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PrimitiveState
impl RefUnwindSafe for PrimitiveState
impl Send for PrimitiveState
impl Sync for PrimitiveState
impl Unpin for PrimitiveState
impl UnsafeUnpin for PrimitiveState
impl UnwindSafe for PrimitiveState
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