pub struct FloatRect {
pub min: Vec2<f32>,
pub max: Vec2<f32>,
}
Expand description
A rectangular section anywhere in 2D float space.
Fields§
§min: Vec2<f32>
The top left corner location of the rectangle (inclusive)
max: Vec2<f32>
The bottom right corner location of the rectangle (inclusive)
Implementations§
Trait Implementations§
source§impl PartialEq for FloatRect
impl PartialEq for FloatRect
impl Copy for FloatRect
impl StructuralPartialEq for FloatRect
Auto Trait Implementations§
impl Freeze for FloatRect
impl RefUnwindSafe for FloatRect
impl Send for FloatRect
impl Sync for FloatRect
impl Unpin for FloatRect
impl UnwindSafe for FloatRect
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