pub enum WebGLState {
Blend,
CullFace,
DepthTest,
PolygonOffsetFill,
SampleAlphaToCoverage,
ScissorTest,
}Variants§
Implementations§
Source§impl WebGLState
impl WebGLState
pub const VALID_WEB_GL_STATES: &[u32]
Trait Implementations§
Source§impl Clone for WebGLState
impl Clone for WebGLState
Source§fn clone(&self) -> WebGLState
fn clone(&self) -> WebGLState
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 WebGLState
impl Debug for WebGLState
Source§impl From<WebGLState> for u32
impl From<WebGLState> for u32
Source§fn from(value: WebGLState) -> Self
fn from(value: WebGLState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WebGLState
impl PartialEq for WebGLState
Source§impl Serialize for WebGLState
impl Serialize for WebGLState
Source§impl TryFrom<u32> for WebGLState
impl TryFrom<u32> for WebGLState
impl Copy for WebGLState
impl Eq for WebGLState
impl StructuralPartialEq for WebGLState
Auto Trait Implementations§
impl Freeze for WebGLState
impl RefUnwindSafe for WebGLState
impl Send for WebGLState
impl Sync for WebGLState
impl Unpin for WebGLState
impl UnwindSafe for WebGLState
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.