pub struct AspectRatio {
pub width: i32,
pub height: i32,
}Expand description
Aspect ratio.
Fields§
§width: i32§height: i32Trait Implementations§
Source§impl Debug for AspectRatio
impl Debug 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 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