Enum canvas_traits::webgl::ParameterInt
source · #[repr(u32)]pub enum ParameterInt {
Show 50 variants
ActiveTexture,
AlphaBits,
BlendDstAlpha,
BlendDstRgb,
BlendEquationAlpha,
BlendEquationRgb,
BlendSrcAlpha,
BlendSrcRgb,
BlueBits,
CullFaceMode,
DepthBits,
DepthFunc,
FragmentShaderDerivativeHint,
FrontFace,
GenerateMipmapHint,
GreenBits,
RedBits,
SampleBuffers,
Samples,
StencilBackFail,
StencilBackFunc,
StencilBackPassDepthFail,
StencilBackPassDepthPass,
StencilBackRef,
StencilBackValueMask,
StencilBackWritemask,
StencilBits,
StencilClearValue,
StencilFail,
StencilFunc,
StencilPassDepthFail,
StencilPassDepthPass,
StencilRef,
StencilValueMask,
StencilWritemask,
SubpixelBits,
TransformFeedbackBinding,
MaxTransformFeedbackInterleavedComponents,
MaxTransformFeedbackSeparateAttribs,
MaxTransformFeedbackSeparateComponents,
TransformFeedbackBufferSize,
TransformFeedbackBufferStart,
PackRowLength,
PackSkipPixels,
PackSkipRows,
UnpackImageHeight,
UnpackRowLength,
UnpackSkipImages,
UnpackSkipPixels,
UnpackSkipRows,
}
Variants§
ActiveTexture
AlphaBits
BlendDstAlpha
BlendDstRgb
BlendEquationAlpha
BlendEquationRgb
BlendSrcAlpha
BlendSrcRgb
BlueBits
CullFaceMode
DepthBits
DepthFunc
FragmentShaderDerivativeHint
FrontFace
GenerateMipmapHint
GreenBits
RedBits
SampleBuffers
Samples
StencilBackFail
StencilBackFunc
StencilBackPassDepthFail
StencilBackPassDepthPass
StencilBackRef
StencilBackValueMask
StencilBackWritemask
StencilBits
StencilClearValue
StencilFail
StencilFunc
StencilPassDepthFail
StencilPassDepthPass
StencilRef
StencilValueMask
StencilWritemask
SubpixelBits
TransformFeedbackBinding
MaxTransformFeedbackInterleavedComponents
MaxTransformFeedbackSeparateAttribs
MaxTransformFeedbackSeparateComponents
TransformFeedbackBufferSize
TransformFeedbackBufferStart
PackRowLength
PackSkipPixels
PackSkipRows
UnpackImageHeight
UnpackRowLength
UnpackSkipImages
UnpackSkipPixels
UnpackSkipRows
Trait Implementations§
source§impl Clone for ParameterInt
impl Clone for ParameterInt
source§fn clone(&self) -> ParameterInt
fn clone(&self) -> ParameterInt
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 ParameterInt
impl Debug for ParameterInt
source§impl<'de> Deserialize<'de> for ParameterInt
impl<'de> Deserialize<'de> for ParameterInt
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for ParameterInt
impl Serialize for ParameterInt
impl Copy for ParameterInt
Auto Trait Implementations§
impl RefUnwindSafe for ParameterInt
impl Send for ParameterInt
impl Sync for ParameterInt
impl Unpin for ParameterInt
impl UnwindSafe for ParameterInt
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where
F: FnOnce(&Self) -> bool,
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where F: FnOnce(&Self) -> bool,
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert