#[repr(C)]pub struct CGSize {
pub width: f64,
pub height: f64,
}
Expand description
A structure that contains width and height values.
Fields§
§width: f64
A width value.
height: f64
A height value.
Trait Implementations§
impl Copy for CGSize
impl StructuralPartialEq for CGSize
Auto Trait Implementations§
impl Freeze for CGSize
impl RefUnwindSafe for CGSize
impl Send for CGSize
impl Sync for CGSize
impl Unpin for CGSize
impl UnwindSafe for CGSize
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