pub enum Hint {
DontCare,
Fastest,
Nicest,
GenerateMipmapHint,
}
Expand description
Constants passed to WebGLRenderingContext.hint()
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.
GenerateMipmapHint
Hint for the quality of filtering when generating mipmap images with WebGLRenderingContext.generateMipmap().
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Hint
impl Send for Hint
impl Sync for Hint
impl Unpin for Hint
impl UnwindSafe for Hint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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