[][src]Struct quadtree_cd::BoundingBox

pub struct BoundingBox<T: Copy> {
    pub x0: T,
    pub y0: T,
    pub x1: T,
    pub y1: T,
}

Fields

x0: Ty0: Tx1: Ty1: T

Methods

impl<T> BoundingBox<T> where
    T: Copy + PartialOrd + Neg<Output = T>, 
[src]

pub fn new(x0: T, y0: T, x1: T, y1: T) -> Self[src]

Trait Implementations

impl<T: Clone + Copy> Clone for BoundingBox<T>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'_> From<&'_ RotatedRect> for BoundingBox<f32>[src]

impl From<BoundingBox<f32>> for BoundingBox<u8>[src]

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

impl<T: Debug + Copy> Debug for BoundingBox<T>[src]

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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