pub enum ImageSubFormat {
Png,
Jpeg,
Jpeg2000,
Avif,
Webp,
Tiff,
Wsq,
VendorSpecific(i64),
}Expand description
Image sub-formats
Variants§
Trait Implementations§
Source§impl Clone for ImageSubFormat
impl Clone for ImageSubFormat
Source§fn clone(&self) -> ImageSubFormat
fn clone(&self) -> ImageSubFormat
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 ImageSubFormat
impl Debug for ImageSubFormat
Source§impl<'de> Deserialize<'de> for ImageSubFormat
impl<'de> Deserialize<'de> for ImageSubFormat
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
Source§impl From<ImageSubFormat> for i64
impl From<ImageSubFormat> for i64
Source§fn from(f: ImageSubFormat) -> i64
fn from(f: ImageSubFormat) -> i64
Converts to this type from the input type.
Source§impl PartialEq for ImageSubFormat
impl PartialEq for ImageSubFormat
Source§impl Serialize for ImageSubFormat
impl Serialize for ImageSubFormat
Source§impl TryFrom<i64> for ImageSubFormat
impl TryFrom<i64> for ImageSubFormat
impl Copy for ImageSubFormat
impl Eq for ImageSubFormat
impl StructuralPartialEq for ImageSubFormat
Auto Trait Implementations§
impl Freeze for ImageSubFormat
impl RefUnwindSafe for ImageSubFormat
impl Send for ImageSubFormat
impl Sync for ImageSubFormat
impl Unpin for ImageSubFormat
impl UnwindSafe for ImageSubFormat
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