pub enum PngColorProfile {
None,
SRGB,
Other,
// some variants omitted
}Expand description
Expected .png color profile
Variants§
Trait Implementations§
Source§impl Clone for PngColorProfile
impl Clone for PngColorProfile
Source§fn clone(&self) -> PngColorProfile
fn clone(&self) -> PngColorProfile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PngColorProfile
impl Debug for PngColorProfile
Source§impl Hash for PngColorProfile
impl Hash for PngColorProfile
Source§impl Ord for PngColorProfile
impl Ord for PngColorProfile
Source§fn cmp(&self, other: &PngColorProfile) -> Ordering
fn cmp(&self, other: &PngColorProfile) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PngColorProfile
impl PartialEq for PngColorProfile
Source§impl PartialOrd for PngColorProfile
impl PartialOrd for PngColorProfile
impl Copy for PngColorProfile
impl Eq for PngColorProfile
impl StructuralPartialEq for PngColorProfile
Auto Trait Implementations§
impl Freeze for PngColorProfile
impl RefUnwindSafe for PngColorProfile
impl Send for PngColorProfile
impl Sync for PngColorProfile
impl Unpin for PngColorProfile
impl UnwindSafe for PngColorProfile
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