pub enum HintMode {
DontCare,
Fastest,
Nicest,
}
Expand description
Constants passed to WebGLRenderingContext.hint() mode argument
Variants§
DontCare
There is no preference for this behavior.
Fastest
The most efficient behavior should be used.
Nicest
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
impl Copy for HintMode
Auto Trait Implementations§
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§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
. Read more