pub enum TextureWrap {
Repeat = 10_497,
ClampToEdge = 33_071,
MirroredRepeat = 33_648,
}
Expand description
WebGLRenderingContext.texParameterfi “param” parameter
Variants§
Trait Implementations§
Source§impl Clone for TextureWrap
impl Clone for TextureWrap
Source§fn clone(&self) -> TextureWrap
fn clone(&self) -> TextureWrap
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 TextureWrap
impl Debug for TextureWrap
Source§impl From<TextureWrap> for JsValue
impl From<TextureWrap> for JsValue
Source§fn from(value: TextureWrap) -> Self
fn from(value: TextureWrap) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for TextureWrap
impl FromWasmAbi for TextureWrap
Source§impl IntoWasmAbi for TextureWrap
impl IntoWasmAbi for TextureWrap
Source§impl OptionFromWasmAbi for TextureWrap
impl OptionFromWasmAbi for TextureWrap
Source§impl OptionIntoWasmAbi for TextureWrap
impl OptionIntoWasmAbi for TextureWrap
Source§impl PartialEq for TextureWrap
impl PartialEq for TextureWrap
Source§impl TryFromJsValue for TextureWrap
impl TryFromJsValue for TextureWrap
Source§fn try_from_js_value(
value: JsValue,
) -> Result<Self, <TextureWrap as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<Self, <TextureWrap as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for TextureWrap
impl VectorFromWasmAbi for TextureWrap
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[TextureWrap]>
Source§impl VectorIntoJsValue for TextureWrap
impl VectorIntoJsValue for TextureWrap
fn vector_into_jsvalue(vector: Box<[TextureWrap]>) -> JsValue
Source§impl VectorIntoWasmAbi for TextureWrap
impl VectorIntoWasmAbi for TextureWrap
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[TextureWrap]>) -> Self::Abi
Source§impl WasmDescribeVector for TextureWrap
impl WasmDescribeVector for TextureWrap
impl Copy for TextureWrap
impl StructuralPartialEq for TextureWrap
Auto Trait Implementations§
impl Freeze for TextureWrap
impl RefUnwindSafe for TextureWrap
impl Send for TextureWrap
impl Sync for TextureWrap
impl Unpin for TextureWrap
impl UnwindSafe for TextureWrap
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
.