pub enum TextureUnit {
Show 32 variants
Texture0 = 33_984,
Texture1 = 33_985,
Texture2 = 33_986,
Texture3 = 33_987,
Texture4 = 33_988,
Texture5 = 33_989,
Texture6 = 33_990,
Texture7 = 33_991,
Texture8 = 33_992,
Texture9 = 33_993,
Texture10 = 33_994,
Texture11 = 33_995,
Texture12 = 33_996,
Texture13 = 33_997,
Texture14 = 33_998,
Texture15 = 33_999,
Texture16 = 34_000,
Texture17 = 34_001,
Texture18 = 34_002,
Texture19 = 34_003,
Texture20 = 34_004,
Texture21 = 34_005,
Texture22 = 34_006,
Texture23 = 34_007,
Texture24 = 34_008,
Texture25 = 34_009,
Texture26 = 34_010,
Texture27 = 34_011,
Texture28 = 34_012,
Texture29 = 34_013,
Texture30 = 34_014,
Texture31 = 34_015,
}
Expand description
A texture unit
Variants§
Texture0 = 33_984
Texture1 = 33_985
Texture2 = 33_986
Texture3 = 33_987
Texture4 = 33_988
Texture5 = 33_989
Texture6 = 33_990
Texture7 = 33_991
Texture8 = 33_992
Texture9 = 33_993
Texture10 = 33_994
Texture11 = 33_995
Texture12 = 33_996
Texture13 = 33_997
Texture14 = 33_998
Texture15 = 33_999
Texture16 = 34_000
Texture17 = 34_001
Texture18 = 34_002
Texture19 = 34_003
Texture20 = 34_004
Texture21 = 34_005
Texture22 = 34_006
Texture23 = 34_007
Texture24 = 34_008
Texture25 = 34_009
Texture26 = 34_010
Texture27 = 34_011
Texture28 = 34_012
Texture29 = 34_013
Texture30 = 34_014
Texture31 = 34_015
Trait Implementations§
Source§impl Clone for TextureUnit
impl Clone for TextureUnit
Source§fn clone(&self) -> TextureUnit
fn clone(&self) -> TextureUnit
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 TextureUnit
impl Debug for TextureUnit
Source§impl From<TextureUnit> for JsValue
impl From<TextureUnit> for JsValue
Source§fn from(value: TextureUnit) -> Self
fn from(value: TextureUnit) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for TextureUnit
impl FromWasmAbi for TextureUnit
Source§impl IntoWasmAbi for TextureUnit
impl IntoWasmAbi for TextureUnit
Source§impl OptionFromWasmAbi for TextureUnit
impl OptionFromWasmAbi for TextureUnit
Source§impl OptionIntoWasmAbi for TextureUnit
impl OptionIntoWasmAbi for TextureUnit
Source§impl TryFromJsValue for TextureUnit
impl TryFromJsValue for TextureUnit
Source§fn try_from_js_value(
value: JsValue,
) -> Result<Self, <TextureUnit as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<Self, <TextureUnit as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for TextureUnit
impl VectorFromWasmAbi for TextureUnit
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[TextureUnit]>
Source§impl VectorIntoJsValue for TextureUnit
impl VectorIntoJsValue for TextureUnit
fn vector_into_jsvalue(vector: Box<[TextureUnit]>) -> JsValue
Source§impl VectorIntoWasmAbi for TextureUnit
impl VectorIntoWasmAbi for TextureUnit
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[TextureUnit]>) -> Self::Abi
Source§impl WasmDescribeVector for TextureUnit
impl WasmDescribeVector for TextureUnit
impl Copy for TextureUnit
Auto Trait Implementations§
impl Freeze for TextureUnit
impl RefUnwindSafe for TextureUnit
impl Send for TextureUnit
impl Sync for TextureUnit
impl Unpin for TextureUnit
impl UnwindSafe for TextureUnit
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
.