#[non_exhaustive]pub enum OriginKind {
Assumed,
Cicp,
Icc,
IccAndCicp,
GamaChrm,
}Expand description
Full re-export of zenpixels core types (zero module name collisions!).
How the original file signaled its color space.
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.
Assumed
No explicit color signaling was present in the file.
Cicp
Only a CICP / nclx / cICP chunk was present.
Icc
Only an ICC profile was present.
IccAndCicp
Both an ICC profile and a CICP chunk were present in the container.
GamaChrm
Legacy PNG gAMA + cHRM chunks.
Trait Implementations§
Source§impl Clone for OriginKind
impl Clone for OriginKind
Source§fn clone(&self) -> OriginKind
fn clone(&self) -> OriginKind
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 OriginKind
Source§impl Debug for OriginKind
impl Debug for OriginKind
Source§impl Default for OriginKind
impl Default for OriginKind
Source§fn default() -> OriginKind
fn default() -> OriginKind
Returns the “default value” for a type. Read more
impl Eq for OriginKind
Source§impl Hash for OriginKind
impl Hash for OriginKind
Source§impl PartialEq for OriginKind
impl PartialEq for OriginKind
impl StructuralPartialEq for OriginKind
Auto Trait Implementations§
impl Freeze for OriginKind
impl RefUnwindSafe for OriginKind
impl Send for OriginKind
impl Sync for OriginKind
impl Unpin for OriginKind
impl UnsafeUnpin for OriginKind
impl UnwindSafe for OriginKind
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