pub struct Size {
pub w: Scalar,
pub h: Scalar,
}
Expand description
The size of a shape.
Fields§
§w: Scalar
The horizontal length of the shape (width).
h: Scalar
The vertical length of the shape (height).
Trait Implementations§
impl Copy for Size
Auto Trait Implementations§
impl RefUnwindSafe for Size
impl Send for Size
impl Sync for Size
impl Unpin for Size
impl UnwindSafe for Size
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