#[repr(C)]pub struct WGPUPrimitiveState {
pub nextInChain: *mut WGPUChainedStruct,
pub topology: WGPUPrimitiveTopology,
pub stripIndexFormat: WGPUIndexFormat,
pub frontFace: WGPUFrontFace,
pub cullMode: WGPUCullMode,
pub unclippedDepth: WGPUBool,
}Fields§
§nextInChain: *mut WGPUChainedStruct§topology: WGPUPrimitiveTopology§stripIndexFormat: WGPUIndexFormat§frontFace: WGPUFrontFace§cullMode: WGPUCullMode§unclippedDepth: WGPUBoolTrait Implementations§
Source§impl Clone for WGPUPrimitiveState
impl Clone for WGPUPrimitiveState
Source§fn clone(&self) -> WGPUPrimitiveState
fn clone(&self) -> WGPUPrimitiveState
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 Debug for WGPUPrimitiveState
impl Debug for WGPUPrimitiveState
Source§impl Default for WGPUPrimitiveState
impl Default for WGPUPrimitiveState
Source§impl Hash for WGPUPrimitiveState
impl Hash for WGPUPrimitiveState
Source§impl Ord for WGPUPrimitiveState
impl Ord for WGPUPrimitiveState
Source§fn cmp(&self, other: &WGPUPrimitiveState) -> Ordering
fn cmp(&self, other: &WGPUPrimitiveState) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WGPUPrimitiveState
impl PartialEq for WGPUPrimitiveState
Source§impl PartialOrd for WGPUPrimitiveState
impl PartialOrd for WGPUPrimitiveState
impl Copy for WGPUPrimitiveState
impl Eq for WGPUPrimitiveState
impl StructuralPartialEq for WGPUPrimitiveState
Auto Trait Implementations§
impl Freeze for WGPUPrimitiveState
impl RefUnwindSafe for WGPUPrimitiveState
impl !Send for WGPUPrimitiveState
impl !Sync for WGPUPrimitiveState
impl Unpin for WGPUPrimitiveState
impl UnwindSafe for WGPUPrimitiveState
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