pub enum AspectRatio {
Square,
ThreeTwo,
TwoThree,
FourThree,
ThreeFour,
FiveFour,
FourFive,
SixteenNine,
NineSixteen,
TwentyOneNine,
}Expand description
Native-image aspect ratio supported by Nano Banana Pro at 2K.
Variants§
Square
1:1 square output.
ThreeTwo
3:2 landscape output.
TwoThree
2:3 portrait output.
FourThree
4:3 landscape output.
ThreeFour
3:4 portrait output.
FiveFour
5:4 landscape output.
FourFive
4:5 portrait output.
SixteenNine
16:9 landscape output.
NineSixteen
9:16 portrait output.
TwentyOneNine
21:9 ultrawide output.
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 (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 AspectRatio
Source§impl Debug for AspectRatio
impl Debug for AspectRatio
Source§impl Default for AspectRatio
impl Default for AspectRatio
Source§fn default() -> AspectRatio
fn default() -> AspectRatio
Returns the “default value” for a type. Read more
impl Eq for AspectRatio
Source§impl Hash for AspectRatio
impl Hash for AspectRatio
Source§impl PartialEq for AspectRatio
impl PartialEq 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