[][src]Struct geo_booleanop::boolean::BoundingBox

pub struct BoundingBox<T> where
    T: CoordinateType
{ pub min: Coordinate<T>, pub max: Coordinate<T>, }

A bounded 2D quadrilateral whose area is defined by minimum and maximum Coordinates.

A simple implementation copied from geo_types 0.4.0, because this version is a better fit for the needs of this crate than the newer ones.

Fields

min: Coordinate<T>max: Coordinate<T>

Implementations

impl<T: CoordinateType> BoundingBox<T>[src]

pub fn width(self) -> T[src]

pub fn height(self) -> T[src]

Trait Implementations

impl<T: Clone> Clone for BoundingBox<T> where
    T: CoordinateType
[src]

impl<T: Copy> Copy for BoundingBox<T> where
    T: CoordinateType
[src]

impl<T: Debug> Debug for BoundingBox<T> where
    T: CoordinateType
[src]

impl<T: PartialEq> PartialEq<BoundingBox<T>> for BoundingBox<T> where
    T: CoordinateType
[src]

impl<T> StructuralPartialEq for BoundingBox<T> where
    T: CoordinateType
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for BoundingBox<T> where
    T: RefUnwindSafe

impl<T> Send for BoundingBox<T> where
    T: Send

impl<T> Sync for BoundingBox<T> where
    T: Sync

impl<T> Unpin for BoundingBox<T> where
    T: Unpin

impl<T> UnwindSafe for BoundingBox<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.