Aabb

Trait Aabb 

Source
pub trait Aabb {
    type Num: Num;

    // Required method
    fn get(&self) -> &Rect<Self::Num>;
}
Expand description

Trait to signify that this object has an axis aligned bounding box.

Required Associated Types§

Required Methods§

Source

fn get(&self) -> &Rect<Self::Num>

Implementations on Foreign Types§

Source§

impl<T: Aabb> Aabb for &T

Source§

type Num = <T as Aabb>::Num

Source§

fn get(&self) -> &Rect<Self::Num>

Source§

impl<T: Aabb> Aabb for &mut T

Source§

type Num = <T as Aabb>::Num

Source§

fn get(&self) -> &Rect<Self::Num>

Implementors§

Source§

impl<N: Num> Aabb for Rect<N>

Source§

type Num = N

Source§

impl<N: Num, T> Aabb for BBox<N, T>

Source§

type Num = N

Source§

impl<N: Num, T> Aabb for BBoxMut<'_, N, T>

Source§

type Num = N