pub enum ImageLayout {
Interleaved,
Planar,
}Expand description
Physical channel arrangement in CPU storage.
Variants§
Interleaved
Pixel channels are adjacent (RGBRGB...).
Planar
Each channel occupies a separate plane (RR...GG...BB...).
Trait Implementations§
Source§impl Clone for ImageLayout
impl Clone for ImageLayout
Source§fn clone(&self) -> ImageLayout
fn clone(&self) -> ImageLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImageLayout
Source§impl Debug for ImageLayout
impl Debug for ImageLayout
Source§impl Default for ImageLayout
impl Default for ImageLayout
Source§fn default() -> ImageLayout
fn default() -> ImageLayout
Returns the “default value” for a type. Read more
impl Eq for ImageLayout
Source§impl Hash for ImageLayout
impl Hash for ImageLayout
Source§impl PartialEq for ImageLayout
impl PartialEq for ImageLayout
impl StructuralPartialEq for ImageLayout
Auto Trait Implementations§
impl Freeze for ImageLayout
impl RefUnwindSafe for ImageLayout
impl Send for ImageLayout
impl Sync for ImageLayout
impl Unpin for ImageLayout
impl UnsafeUnpin for ImageLayout
impl UnwindSafe for ImageLayout
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