#[non_exhaustive]pub enum EditedImageSize {
Auto,
Square,
Landscape,
Portrait,
Custom(String),
}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.
Trait Implementations§
Source§impl Clone for EditedImageSize
impl Clone for EditedImageSize
Source§impl Debug for EditedImageSize
impl Debug for EditedImageSize
Source§impl DeclaredFields for EditedImageSize
impl DeclaredFields for EditedImageSize
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for EditedImageSize
impl<'de> Deserialize<'de> for EditedImageSize
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 EditedImageSize
Source§impl PartialEq for EditedImageSize
impl PartialEq for EditedImageSize
Source§impl Serialize for EditedImageSize
impl Serialize for EditedImageSize
impl StructuralPartialEq for EditedImageSize
Auto Trait Implementations§
impl Freeze for EditedImageSize
impl RefUnwindSafe for EditedImageSize
impl Send for EditedImageSize
impl Sync for EditedImageSize
impl Unpin for EditedImageSize
impl UnsafeUnpin for EditedImageSize
impl UnwindSafe for EditedImageSize
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