pub enum VideoAspectRatio {
R16x9,
R9x16,
R1x1,
R4x3,
R3x4,
R21x9,
R9x21,
}Expand description
Supported aspect ratios for video generation.
Variants§
R16x9
16:9 widescreen.
R9x16
9:16 vertical.
R1x1
1:1 square.
R4x3
4:3 traditional.
R3x4
3:4 portrait.
R21x9
21:9 ultra-wide.
R9x21
9:21 ultra-tall.
Trait Implementations§
Source§impl Clone for VideoAspectRatio
impl Clone for VideoAspectRatio
Source§fn clone(&self) -> VideoAspectRatio
fn clone(&self) -> VideoAspectRatio
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VideoAspectRatio
Source§impl Debug for VideoAspectRatio
impl Debug for VideoAspectRatio
Source§impl<'de> Deserialize<'de> for VideoAspectRatio
impl<'de> Deserialize<'de> for VideoAspectRatio
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 VideoAspectRatio
Source§impl PartialEq for VideoAspectRatio
impl PartialEq for VideoAspectRatio
Source§impl Serialize for VideoAspectRatio
impl Serialize for VideoAspectRatio
impl StructuralPartialEq for VideoAspectRatio
Auto Trait Implementations§
impl Freeze for VideoAspectRatio
impl RefUnwindSafe for VideoAspectRatio
impl Send for VideoAspectRatio
impl Sync for VideoAspectRatio
impl Unpin for VideoAspectRatio
impl UnsafeUnpin for VideoAspectRatio
impl UnwindSafe for VideoAspectRatio
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