Struct descartes::BoundingBox [−][src]
Fields
min: P2
max: P2
Methods
impl BoundingBox
[src]
impl BoundingBox
pub fn infinite() -> Self
[src]
pub fn infinite() -> Self
pub fn overlaps(&self, other: &BoundingBox) -> bool
[src]
pub fn overlaps(&self, other: &BoundingBox) -> bool
pub fn point(p: P2) -> Self
[src]
pub fn point(p: P2) -> Self
pub fn grown_by(&self, offset: N) -> Self
[src]
pub fn grown_by(&self, offset: N) -> Self
Trait Implementations
impl Copy for BoundingBox
[src]
impl Copy for BoundingBox
impl Clone for BoundingBox
[src]
impl Clone for BoundingBox
fn clone(&self) -> BoundingBox
[src]
fn clone(&self) -> BoundingBox
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for BoundingBox
impl Send for BoundingBox
impl Sync for BoundingBox
impl Sync for BoundingBox