pub enum TextureBindPoint {
Texture2d = 3_553,
TextureCubeMapPositiveX = 34_069,
TextureCubeMapNegativeX = 34_070,
TextureCubeMapPositiveY = 34_071,
TextureCubeMapNegativeY = 34_072,
TextureCubeMapPositiveZ = 34_073,
TextureCubeMapNegativeZ = 34_074,
}
Expand description
WebGLRenderingContext.texImage2D() “target” parameter
Variants§
Texture2d = 3_553
TextureCubeMapPositiveX = 34_069
TextureCubeMapNegativeX = 34_070
TextureCubeMapPositiveY = 34_071
TextureCubeMapNegativeY = 34_072
TextureCubeMapPositiveZ = 34_073
TextureCubeMapNegativeZ = 34_074
Trait Implementations§
Source§impl Clone for TextureBindPoint
impl Clone for TextureBindPoint
Source§fn clone(&self) -> TextureBindPoint
fn clone(&self) -> TextureBindPoint
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TextureBindPoint
impl Debug for TextureBindPoint
Source§impl From<TextureBindPoint> for JsValue
impl From<TextureBindPoint> for JsValue
Source§fn from(value: TextureBindPoint) -> Self
fn from(value: TextureBindPoint) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for TextureBindPoint
impl FromWasmAbi for TextureBindPoint
Source§impl IntoWasmAbi for TextureBindPoint
impl IntoWasmAbi for TextureBindPoint
Source§impl OptionFromWasmAbi for TextureBindPoint
impl OptionFromWasmAbi for TextureBindPoint
Source§impl OptionIntoWasmAbi for TextureBindPoint
impl OptionIntoWasmAbi for TextureBindPoint
Source§impl TryFromJsValue for TextureBindPoint
impl TryFromJsValue for TextureBindPoint
Source§fn try_from_js_value(
value: JsValue,
) -> Result<Self, <TextureBindPoint as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<Self, <TextureBindPoint as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for TextureBindPoint
impl VectorFromWasmAbi for TextureBindPoint
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[TextureBindPoint]>
Source§impl VectorIntoJsValue for TextureBindPoint
impl VectorIntoJsValue for TextureBindPoint
fn vector_into_jsvalue(vector: Box<[TextureBindPoint]>) -> JsValue
Source§impl VectorIntoWasmAbi for TextureBindPoint
impl VectorIntoWasmAbi for TextureBindPoint
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[TextureBindPoint]>) -> Self::Abi
Source§impl WasmDescribeVector for TextureBindPoint
impl WasmDescribeVector for TextureBindPoint
impl Copy for TextureBindPoint
Auto Trait Implementations§
impl Freeze for TextureBindPoint
impl RefUnwindSafe for TextureBindPoint
impl Send for TextureBindPoint
impl Sync for TextureBindPoint
impl Unpin for TextureBindPoint
impl UnwindSafe for TextureBindPoint
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<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§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
.