pub struct Bounds {
pub min: Vec3,
pub max: Vec3,
}Expand description
An axis-aligned box in f64.
Fields§
§min: Vec3§max: Vec3Implementations§
Source§impl Bounds
impl Bounds
Sourcepub fn from_points<I: IntoIterator<Item = Vec3>>(points: I) -> Option<Self>
pub fn from_points<I: IntoIterator<Item = Vec3>>(points: I) -> Option<Self>
The smallest box containing every point, or None for none.
Trait Implementations§
impl Copy for Bounds
impl StructuralPartialEq for Bounds
Auto Trait Implementations§
impl Freeze for Bounds
impl RefUnwindSafe for Bounds
impl Send for Bounds
impl Sync for Bounds
impl Unpin for Bounds
impl UnwindSafe for Bounds
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