Enum webgl_rs::glenum::PixelFormat
source · pub enum PixelFormat {
DepthComponent,
Alpha,
Rgb,
Rgba,
Luminance,
LuminanceAlpha,
}
Variants§
Trait Implementations§
source§impl Clone for PixelFormat
impl Clone for PixelFormat
source§fn clone(&self) -> PixelFormat
fn clone(&self) -> PixelFormat
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 PixelFormat
impl Debug for PixelFormat
source§impl FromWasmAbi for PixelFormat
impl FromWasmAbi for PixelFormat
source§impl IntoWasmAbi for PixelFormat
impl IntoWasmAbi for PixelFormat
source§impl OptionFromWasmAbi for PixelFormat
impl OptionFromWasmAbi for PixelFormat
source§impl OptionIntoWasmAbi for PixelFormat
impl OptionIntoWasmAbi for PixelFormat
impl Copy for PixelFormat
Auto Trait Implementations§
impl RefUnwindSafe for PixelFormat
impl Send for PixelFormat
impl Sync for PixelFormat
impl Unpin for PixelFormat
impl UnwindSafe for PixelFormat
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more