#[repr(C)]pub struct ShapeRect {
pub origin: ShapePoint,
pub width: f32,
pub height: f32,
}Expand description
A 2D rectangle for shape bounding boxes and reference boxes
Fields§
§origin: ShapePoint§width: f32§height: f32Implementations§
Trait Implementations§
impl Copy for ShapeRect
impl StructuralPartialEq for ShapeRect
Auto Trait Implementations§
impl Freeze for ShapeRect
impl RefUnwindSafe for ShapeRect
impl Send for ShapeRect
impl Sync for ShapeRect
impl Unpin for ShapeRect
impl UnwindSafe for ShapeRect
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