pub struct Rect2D {
pub min_x: f32,
pub min_y: f32,
pub max_x: f32,
pub max_y: f32,
}Expand description
Axis-aligned 2D bounding box.
Fields§
§min_x: f32§min_y: f32§max_x: f32§max_y: f32Implementations§
Trait Implementations§
impl Copy for Rect2D
impl StructuralPartialEq for Rect2D
Auto Trait Implementations§
impl Forget for Rect2D
impl Freeze for Rect2D
impl Move for Rect2D
impl RefUnwindSafe for Rect2D
impl Send for Rect2D
impl Sync for Rect2D
impl Unpin for Rect2D
impl UnsafeUnpin for Rect2D
impl UnwindSafe for Rect2D
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