pub enum ImagePngColorV1 {
Rgb8,
Rgba8,
}Expand description
Exact decoded pixel representation carried by one PNG value.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ImagePngColorV1
impl Clone for ImagePngColorV1
impl Copy for ImagePngColorV1
Source§impl Debug for ImagePngColorV1
impl Debug for ImagePngColorV1
Source§impl<'de> Deserialize<'de> for ImagePngColorV1
impl<'de> Deserialize<'de> for ImagePngColorV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ImagePngColorV1
Source§impl PartialEq for ImagePngColorV1
impl PartialEq for ImagePngColorV1
Source§impl Serialize for ImagePngColorV1
impl Serialize for ImagePngColorV1
impl StructuralPartialEq for ImagePngColorV1
Auto Trait Implementations§
impl Freeze for ImagePngColorV1
impl RefUnwindSafe for ImagePngColorV1
impl Send for ImagePngColorV1
impl Sync for ImagePngColorV1
impl Unpin for ImagePngColorV1
impl UnsafeUnpin for ImagePngColorV1
impl UnwindSafe for ImagePngColorV1
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