Enum webgl_rs::glenum::Texture2DKind
source · pub enum Texture2DKind {
Texture2d,
TextureCubeMap,
}
Expand description
WebGLRenderingContext.texStorage2D() target
parameter
Variants§
Trait Implementations§
source§impl Clone for Texture2DKind
impl Clone for Texture2DKind
source§fn clone(&self) -> Texture2DKind
fn clone(&self) -> Texture2DKind
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 Texture2DKind
impl Debug for Texture2DKind
source§impl FromWasmAbi for Texture2DKind
impl FromWasmAbi for Texture2DKind
source§impl IntoWasmAbi for Texture2DKind
impl IntoWasmAbi for Texture2DKind
source§impl OptionFromWasmAbi for Texture2DKind
impl OptionFromWasmAbi for Texture2DKind
source§impl OptionIntoWasmAbi for Texture2DKind
impl OptionIntoWasmAbi for Texture2DKind
impl Copy for Texture2DKind
Auto Trait Implementations§
impl RefUnwindSafe for Texture2DKind
impl Send for Texture2DKind
impl Sync for Texture2DKind
impl Unpin for Texture2DKind
impl UnwindSafe for Texture2DKind
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