#[repr(C)]pub struct PreserveAspectRatio {
pub align: SkSVGPreserveAspectRatio_Align,
pub scale: SkSVGPreserveAspectRatio_Scale,
}
Fields§
§align: SkSVGPreserveAspectRatio_Align
§scale: SkSVGPreserveAspectRatio_Scale
Implementations§
§impl PreserveAspectRatio
impl PreserveAspectRatio
pub fn new( align: SkSVGPreserveAspectRatio_Align, scale: SkSVGPreserveAspectRatio_Scale, ) -> PreserveAspectRatio
Trait Implementations§
§impl Clone for PreserveAspectRatio
impl Clone for PreserveAspectRatio
§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 more§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)