pub enum AspectRatio {
Square,
Portrait2x3,
Landscape3x2,
Portrait3x4,
Landscape4x3,
Portrait4x5,
Landscape5x4,
Portrait9x16,
Landscape16x9,
UltraWide,
}Variants§
Square
Portrait2x3
Landscape3x2
Portrait3x4
Landscape4x3
Portrait4x5
Landscape5x4
Portrait9x16
Landscape16x9
UltraWide
Trait Implementations§
Source§impl Clone for AspectRatio
impl Clone for AspectRatio
Source§fn clone(&self) -> AspectRatio
fn clone(&self) -> AspectRatio
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 AspectRatio
impl Debug for AspectRatio
Source§impl<'de> Deserialize<'de> for AspectRatio
impl<'de> Deserialize<'de> for AspectRatio
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 PartialEq for AspectRatio
impl PartialEq for AspectRatio
Source§impl Serialize for AspectRatio
impl Serialize for AspectRatio
impl StructuralPartialEq for AspectRatio
Auto Trait Implementations§
impl Freeze for AspectRatio
impl RefUnwindSafe for AspectRatio
impl Send for AspectRatio
impl Sync for AspectRatio
impl Unpin for AspectRatio
impl UnwindSafe for AspectRatio
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