pub enum Hint {
DontCare = 4_352,
Fastest = 4_353,
Nicest = 4_354,
GenerateMipmapHint = 33_170,
}
Expand description
Constants passed to WebGLRenderingContext.hint()
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.
GenerateMipmapHint = 33_170
Hint for the quality of filtering when generating mipmap images with WebGLRenderingContext.generateMipmap().
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Hint
impl RefUnwindSafe for Hint
impl Send for Hint
impl Sync for Hint
impl Unpin for Hint
impl UnwindSafe for Hint
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