Enum hapi_rs::geometry::ImagePacking
source · #[repr(i32)]
#[non_exhaustive]
pub enum ImagePacking {
Unknown,
Single,
Dual,
Rgb,
Bgr,
Rgba,
Abgr,
Max,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
Single
Dual
Rgb
Bgr
Rgba
Abgr
Max
Implementations
sourceimpl ImagePacking
impl ImagePacking
pub const Default3: ImagePacking = ImagePacking::Rgb
sourceimpl ImagePacking
impl ImagePacking
pub const Default4: ImagePacking = ImagePacking::Rgba
Trait Implementations
sourceimpl Clone for ImagePacking
impl Clone for ImagePacking
sourcefn clone(&self) -> ImagePacking
fn clone(&self) -> ImagePacking
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 ImagePacking
impl Debug for ImagePacking
sourceimpl Hash for ImagePacking
impl Hash for ImagePacking
sourceimpl PartialEq<ImagePacking> for ImagePacking
impl PartialEq<ImagePacking> for ImagePacking
sourcefn eq(&self, other: &ImagePacking) -> bool
fn eq(&self, other: &ImagePacking) -> bool
impl Copy for ImagePacking
impl Eq for ImagePacking
impl StructuralEq for ImagePacking
impl StructuralPartialEq for ImagePacking
Auto Trait Implementations
impl RefUnwindSafe for ImagePacking
impl Send for ImagePacking
impl Sync for ImagePacking
impl Unpin for ImagePacking
impl UnwindSafe for ImagePacking
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