pub struct EnclosingSphere {
pub centre: Point3,
pub radius: f64,
}Expand description
A sphere by its centre and radius.
Fields§
§centre: Point3Centre.
radius: f64Radius; zero for a single distinct point.
Trait Implementations§
Source§impl Clone for EnclosingSphere
impl Clone for EnclosingSphere
Source§fn clone(&self) -> EnclosingSphere
fn clone(&self) -> EnclosingSphere
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnclosingSphere
impl Debug for EnclosingSphere
Source§impl PartialEq for EnclosingSphere
impl PartialEq for EnclosingSphere
impl Copy for EnclosingSphere
impl StructuralPartialEq for EnclosingSphere
Auto Trait Implementations§
impl Freeze for EnclosingSphere
impl RefUnwindSafe for EnclosingSphere
impl Send for EnclosingSphere
impl Sync for EnclosingSphere
impl Unpin for EnclosingSphere
impl UnwindSafe for EnclosingSphere
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