Enum web_sys::GpuAddressMode
source · [−]pub enum GpuAddressMode {
ClampToEdge,
Repeat,
MirrorRepeat,
// some variants omitted
}
Expand description
The GpuAddressMode
enum.
This API requires the following crate features to be activated: GpuAddressMode
This API is unstable and requires --cfg=web_sys_unstable_apis
to be activated, as
described in the wasm-bindgen
guide
Variants
ClampToEdge
Repeat
MirrorRepeat
Implementations
sourceimpl GpuAddressMode
impl GpuAddressMode
pub fn from_js_value(obj: &JsValue) -> Option<GpuAddressMode>
Trait Implementations
sourceimpl Clone for GpuAddressMode
impl Clone for GpuAddressMode
sourcefn clone(&self) -> GpuAddressMode
fn clone(&self) -> GpuAddressMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GpuAddressMode
impl Debug for GpuAddressMode
sourceimpl From<GpuAddressMode> for JsValue
impl From<GpuAddressMode> for JsValue
sourcefn from(obj: GpuAddressMode) -> JsValue
fn from(obj: GpuAddressMode) -> JsValue
Converts to this type from the input type.
sourceimpl FromWasmAbi for GpuAddressMode
impl FromWasmAbi for GpuAddressMode
sourceimpl IntoWasmAbi for GpuAddressMode
impl IntoWasmAbi for GpuAddressMode
sourceimpl OptionFromWasmAbi for GpuAddressMode
impl OptionFromWasmAbi for GpuAddressMode
sourceimpl OptionIntoWasmAbi for GpuAddressMode
impl OptionIntoWasmAbi for GpuAddressMode
sourceimpl PartialEq<GpuAddressMode> for GpuAddressMode
impl PartialEq<GpuAddressMode> for GpuAddressMode
sourceimpl WasmDescribe for GpuAddressMode
impl WasmDescribe for GpuAddressMode
impl Copy for GpuAddressMode
impl Eq for GpuAddressMode
impl StructuralEq for GpuAddressMode
impl StructuralPartialEq for GpuAddressMode
Auto Trait Implementations
impl RefUnwindSafe for GpuAddressMode
impl Send for GpuAddressMode
impl Sync for GpuAddressMode
impl Unpin for GpuAddressMode
impl UnwindSafe for GpuAddressMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn 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
. Read more