pub enum ImageOrientation {
Square,
Landscape,
Portrait,
}Expand description
The available iamge orientations provided through the API
Variants§
Trait Implementations§
Source§impl Clone for ImageOrientation
impl Clone for ImageOrientation
Source§fn clone(&self) -> ImageOrientation
fn clone(&self) -> ImageOrientation
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 ImageOrientation
impl Debug for ImageOrientation
Source§impl<'de> Deserialize<'de> for ImageOrientation
impl<'de> Deserialize<'de> for ImageOrientation
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 Display for ImageOrientation
impl Display for ImageOrientation
Source§impl Serialize for ImageOrientation
impl Serialize for ImageOrientation
Auto Trait Implementations§
impl Freeze for ImageOrientation
impl RefUnwindSafe for ImageOrientation
impl Send for ImageOrientation
impl Sync for ImageOrientation
impl Unpin for ImageOrientation
impl UnwindSafe for ImageOrientation
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