#[repr(C)]pub struct tg_rect {
pub min: tg_point,
pub max: tg_point,
}Expand description
A rectangle defined by a minimum and maximum coordinates. Returned by the tg_geom_rect(), tg_ring_rect(), and other *_rect() functions for getting a geometry’s minumum bounding rectangle. Also used internally for geometry indexing. @see RectFuncs
Fields§
§min: tg_point§max: tg_pointTrait Implementations§
source§impl PartialEq for tg_rect
impl PartialEq for tg_rect
impl Copy for tg_rect
impl StructuralPartialEq for tg_rect
Auto Trait Implementations§
impl RefUnwindSafe for tg_rect
impl Send for tg_rect
impl Sync for tg_rect
impl Unpin for tg_rect
impl UnwindSafe for tg_rect
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