#[repr(C)]pub struct PreserveAspectRatio {
pub align: Align,
pub scale: Scale,
}
Fields§
§align: Align
§scale: Scale
Implementations§
Trait Implementations§
Source§impl Clone for PreserveAspectRatio
impl Clone for PreserveAspectRatio
Source§fn clone(&self) -> PreserveAspectRatio
fn clone(&self) -> PreserveAspectRatio
Returns a copy 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 moreSource§impl Debug for PreserveAspectRatio
impl Debug for PreserveAspectRatio
impl Copy for PreserveAspectRatio
Auto Trait Implementations§
impl Freeze for PreserveAspectRatio
impl RefUnwindSafe for PreserveAspectRatio
impl Send for PreserveAspectRatio
impl Sync for PreserveAspectRatio
impl Unpin for PreserveAspectRatio
impl UnwindSafe for PreserveAspectRatio
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