#[repr(C)]pub struct Sphere3<T: FloatScalar> {
pub center: Vector3<T>,
pub radius: T,
}Expand description
A sphere defined by center and radius.
Fields§
§center: Vector3<T>Sphere center.
radius: TSphere radius.
Implementations§
Trait Implementations§
impl<T: Copy + FloatScalar> Copy for Sphere3<T>
Auto Trait Implementations§
impl<T> Freeze for Sphere3<T>where
T: Freeze,
impl<T> RefUnwindSafe for Sphere3<T>where
T: RefUnwindSafe,
impl<T> Send for Sphere3<T>where
T: Send,
impl<T> Sync for Sphere3<T>where
T: Sync,
impl<T> Unpin for Sphere3<T>where
T: Unpin,
impl<T> UnwindSafe for Sphere3<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