pub enum ImageType {
Clipart = 0,
AnimatedGif = 1,
Photo = 2,
Line = 3,
Transparent = 4,
}
Expand description
Represents different types of images
Variants§
Clipart = 0
Animated Gif Images
AnimatedGif = 1
Clip art images
Photo = 2
Photographs (excluding line drawings, animated gifs, and clip art)
Line = 3
Line drawings
Transparent = 4
Images with transparent backgrounds
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ImageType
impl<'de> Deserialize<'de> for ImageType
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 IntoEnumIterator for ImageType
impl IntoEnumIterator for ImageType
type Iterator = ImageTypeIter
fn iter() -> ImageTypeIter ⓘ
impl Copy for ImageType
impl StructuralPartialEq for ImageType
Auto Trait Implementations§
impl Freeze for ImageType
impl RefUnwindSafe for ImageType
impl Send for ImageType
impl Sync for ImageType
impl Unpin for ImageType
impl UnwindSafe for ImageType
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