Struct shape_core::Cuboid
source · pub struct Cuboid<T> {
pub min: Point3D<T>,
pub max: Point3D<T>,
}
Expand description
Fields§
§min: Point3D<T>
The origin x of the cuboid.
max: Point3D<T>
The width of the cuboid.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for Cuboid<T>where T: RefUnwindSafe,
impl<T> Send for Cuboid<T>where T: Send,
impl<T> Sync for Cuboid<T>where T: Sync,
impl<T> Unpin for Cuboid<T>where T: Unpin,
impl<T> UnwindSafe for Cuboid<T>where T: UnwindSafe,
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