[][src]Trait rust_3d::HasBoundingBox2D

pub trait HasBoundingBox2D: HasBoundingBox2DMaybe {
    fn bounding_box(&self) -> BoundingBox2D;
}

HasBoundingBox2D is a trait for types which have a bounding box

Required methods

fn bounding_box(&self) -> BoundingBox2D

Should return the bounding box if it can be calculated

Loading content...

Implementors

impl HasBoundingBox2D for BoundingBox2D[src]

impl HasBoundingBox2D for Box2D[src]

impl HasBoundingBox2D for Circle[src]

impl HasBoundingBox2D for FilterBox2D[src]

impl HasBoundingBox2D for FilterCircle[src]

impl<T> HasBoundingBox2D for HasBoundingBox2DConverted<T> where
    T: HasBoundingBox2DMaybe
[src]

Loading content...