pub enum Texture3DKind {
Texture3d = 32_879,
Texture2dArray = 35_866,
}
Expand description
WebGLRenderingContext.texStorage3D() target
parameter
Variants§
Texture3d = 32_879
A three-dimensional texture.
Texture2dArray = 35_866
A two-dimensional array texture.
Trait Implementations§
Source§impl Clone for Texture3DKind
impl Clone for Texture3DKind
Source§fn clone(&self) -> Texture3DKind
fn clone(&self) -> Texture3DKind
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 Texture3DKind
impl Debug for Texture3DKind
Source§impl From<Texture3DKind> for JsValue
impl From<Texture3DKind> for JsValue
Source§fn from(value: Texture3DKind) -> Self
fn from(value: Texture3DKind) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for Texture3DKind
impl FromWasmAbi for Texture3DKind
Source§impl IntoWasmAbi for Texture3DKind
impl IntoWasmAbi for Texture3DKind
Source§impl OptionFromWasmAbi for Texture3DKind
impl OptionFromWasmAbi for Texture3DKind
Source§impl OptionIntoWasmAbi for Texture3DKind
impl OptionIntoWasmAbi for Texture3DKind
Source§impl TryFromJsValue for Texture3DKind
impl TryFromJsValue for Texture3DKind
Source§fn try_from_js_value(
value: JsValue,
) -> Result<Self, <Texture3DKind as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<Self, <Texture3DKind as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for Texture3DKind
impl VectorFromWasmAbi for Texture3DKind
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Texture3DKind]>
Source§impl VectorIntoJsValue for Texture3DKind
impl VectorIntoJsValue for Texture3DKind
fn vector_into_jsvalue(vector: Box<[Texture3DKind]>) -> JsValue
Source§impl VectorIntoWasmAbi for Texture3DKind
impl VectorIntoWasmAbi for Texture3DKind
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Texture3DKind]>) -> Self::Abi
Source§impl WasmDescribeVector for Texture3DKind
impl WasmDescribeVector for Texture3DKind
impl Copy for Texture3DKind
Auto Trait Implementations§
impl Freeze for Texture3DKind
impl RefUnwindSafe for Texture3DKind
impl Send for Texture3DKind
impl Sync for Texture3DKind
impl Unpin for Texture3DKind
impl UnwindSafe for Texture3DKind
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
.