#[non_exhaustive]pub enum AspectRatio {
Show 15 variants
Unspecified,
OneByOne,
TwoByThree,
ThreeByTwo,
ThreeByFour,
FourByThree,
FourByFive,
FiveByFour,
NineBySixteen,
SixteenByNine,
TwentyOneByNine,
OneByEight,
EightByOne,
OneByFour,
FourByOne,
}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.
Unspecified
OneByOne
TwoByThree
ThreeByTwo
ThreeByFour
FourByThree
FourByFive
FiveByFour
NineBySixteen
SixteenByNine
TwentyOneByNine
OneByEight
EightByOne
OneByFour
FourByOne
Trait Implementations§
Source§impl Clone for AspectRatio
impl Clone for AspectRatio
Source§impl Debug for AspectRatio
impl Debug for AspectRatio
Source§impl DeclaredFields for AspectRatio
impl DeclaredFields for AspectRatio
fn into_declared(self) -> Self
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
impl Eq for AspectRatio
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 UnsafeUnpin 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