Enum uni_gl::PixelStorageMode
source · [−]pub enum PixelStorageMode {
UnpackFlipYWebgl,
UnpackPremultiplyAlphaWebgl,
UnpackColorspaceConversionWebgl,
PackAlignment,
UnpackAlignment,
}
Expand description
Constants passed to WebGLRenderingContext.hint()
Variants
UnpackFlipYWebgl
UnpackPremultiplyAlphaWebgl
UnpackColorspaceConversionWebgl
PackAlignment
Packing of pixel data into memory. Can be 1, 2, 4, 8 defaults to 4
UnpackAlignment
Unpacking of pixel data from memory Can be 1, 2, 4, 8 defaults to 4
Trait Implementations
sourceimpl Clone for PixelStorageMode
impl Clone for PixelStorageMode
sourcefn clone(&self) -> PixelStorageMode
fn clone(&self) -> PixelStorageMode
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 moresourceimpl Debug for PixelStorageMode
impl Debug for PixelStorageMode
impl Copy for PixelStorageMode
Auto Trait Implementations
impl RefUnwindSafe for PixelStorageMode
impl Send for PixelStorageMode
impl Sync for PixelStorageMode
impl Unpin for PixelStorageMode
impl UnwindSafe for PixelStorageMode
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