Trait visioncortex::bound::Bound

source ·
pub trait Bound {
    // Required method
    fn bound(&self) -> BoundingRect;

    // Provided method
    fn overlaps<B: Bound>(&self, other: &B) -> bool { ... }
}
Expand description

Any object that has a bounding rect

Required Methods§

Provided Methods§

source

fn overlaps<B: Bound>(&self, other: &B) -> bool

Object Safety§

This trait is not object safe.

Implementors§