Struct wgpu_hal::gles::PrimitiveState
source · struct PrimitiveState {
front_face: u32,
cull_face: u32,
unclipped_depth: bool,
polygon_mode: u32,
}
Fields§
§front_face: u32
§cull_face: u32
§unclipped_depth: bool
§polygon_mode: u32
Trait Implementations§
source§impl Clone for PrimitiveState
impl Clone for PrimitiveState
source§fn clone(&self) -> PrimitiveState
fn clone(&self) -> PrimitiveState
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 Debug for PrimitiveState
impl Debug for PrimitiveState
source§impl Default for PrimitiveState
impl Default for PrimitiveState
source§fn default() -> PrimitiveState
fn default() -> PrimitiveState
Returns the “default value” for a type. Read more
source§impl PartialEq for PrimitiveState
impl PartialEq for PrimitiveState
source§fn eq(&self, other: &PrimitiveState) -> bool
fn eq(&self, other: &PrimitiveState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PrimitiveState
Auto Trait Implementations§
impl Freeze for PrimitiveState
impl RefUnwindSafe for PrimitiveState
impl Send for PrimitiveState
impl Sync for PrimitiveState
impl Unpin 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