#[repr(C)]pub struct CGSize {
pub width: CGFloat,
pub height: CGFloat,
}
Expand description
Upstream core graphics does not implement Encode for certain things, so we wrap them here - these are only used in reading certain types passed to us from some delegate methods.
Fields
width: CGFloat
The width of this size.
height: CGFloat
The height of this size.
Implementations
Trait Implementations
impl Copy for CGSize
impl StructuralPartialEq for CGSize
Auto Trait Implementations
impl RefUnwindSafe for CGSize
impl Send for CGSize
impl Sync for CGSize
impl Unpin for CGSize
impl UnwindSafe for CGSize
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more