pub struct ImageModelCallOptionsAspectRatio {
pub width: u32,
pub height: u32,
}Expand description
The aspect ratio of the generated image, specified as width and height ratios.
Fields§
§width: u32§height: u32Trait Implementations§
Source§impl Clone for ImageModelCallOptionsAspectRatio
impl Clone for ImageModelCallOptionsAspectRatio
Source§fn clone(&self) -> ImageModelCallOptionsAspectRatio
fn clone(&self) -> ImageModelCallOptionsAspectRatio
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 moreAuto Trait Implementations§
impl Freeze for ImageModelCallOptionsAspectRatio
impl RefUnwindSafe for ImageModelCallOptionsAspectRatio
impl Send for ImageModelCallOptionsAspectRatio
impl Sync for ImageModelCallOptionsAspectRatio
impl Unpin for ImageModelCallOptionsAspectRatio
impl UnsafeUnpin for ImageModelCallOptionsAspectRatio
impl UnwindSafe for ImageModelCallOptionsAspectRatio
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