pub enum HintMode {
DontCare = 4_352,
Fastest = 4_353,
Nicest = 4_354,
}
Expand description
Constants passed to WebGLRenderingContext.hint() mode argument
Variants§
DontCare = 4_352
There is no preference for this behavior.
Fastest = 4_353
The most efficient behavior should be used.
Nicest = 4_354
The most correct or the highest quality option should be used.
Trait Implementations§
Source§impl FromWasmAbi for HintMode
impl FromWasmAbi for HintMode
Source§impl IntoWasmAbi for HintMode
impl IntoWasmAbi for HintMode
Source§impl OptionFromWasmAbi for HintMode
impl OptionFromWasmAbi for HintMode
Source§impl OptionIntoWasmAbi for HintMode
impl OptionIntoWasmAbi for HintMode
Source§impl TryFromJsValue for HintMode
impl TryFromJsValue for HintMode
Source§impl VectorFromWasmAbi for HintMode
impl VectorFromWasmAbi for HintMode
Source§impl VectorIntoWasmAbi for HintMode
impl VectorIntoWasmAbi for HintMode
impl Copy for HintMode
Auto Trait Implementations§
impl Freeze for HintMode
impl RefUnwindSafe for HintMode
impl Send for HintMode
impl Sync for HintMode
impl Unpin for HintMode
impl UnwindSafe for HintMode
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
.