pub struct Aabb2 {
pub min: Vec2,
pub max: Vec2,
}Expand description
2-D axis-aligned bounding box.
Fields§
§min: Vec2Minimum corner (inclusive).
max: Vec2Maximum corner (inclusive).
Implementations§
Trait Implementations§
impl Copy for Aabb2
impl StructuralPartialEq for Aabb2
Auto Trait Implementations§
impl Freeze for Aabb2
impl RefUnwindSafe for Aabb2
impl Send for Aabb2
impl Sync for Aabb2
impl Unpin for Aabb2
impl UnsafeUnpin for Aabb2
impl UnwindSafe for Aabb2
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