pub struct ObjectBounds { /* private fields */ }Expand description
An object’s axis-aligned extent, for broad-phase candidate search.
Implementations§
Source§impl ObjectBounds
impl ObjectBounds
pub fn try_new( object: ObjectId, bounds: Bounds3, fidelity: GeometryFidelity, ) -> Result<Self, ProximityError>
pub fn object(&self) -> &ObjectId
pub fn fidelity(&self) -> GeometryFidelity
Trait Implementations§
Source§impl Clone for ObjectBounds
impl Clone for ObjectBounds
Source§impl Debug for ObjectBounds
impl Debug for ObjectBounds
Source§impl PartialEq for ObjectBounds
impl PartialEq for ObjectBounds
impl StructuralPartialEq for ObjectBounds
Auto Trait Implementations§
impl Freeze for ObjectBounds
impl RefUnwindSafe for ObjectBounds
impl Send for ObjectBounds
impl Sync for ObjectBounds
impl Unpin for ObjectBounds
impl UnsafeUnpin for ObjectBounds
impl UnwindSafe for ObjectBounds
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more