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