Struct quadtree_f32::Rect [−][src]
Expand description
Rectangle (2d bounding box) that can be inserted into the QuadTree
Fields
max_x: f32
max_y: f32
min_x: f32
min_y: f32
Implementations
Returns the height of the rectangle
Returns whether the rect contains a point
Returns whether the rect completely contains another rect
Returns whether the rect overlaps another rect
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Rect
impl UnwindSafe for Rect
Blanket Implementations
Mutably borrows from an owned value. Read more