pub struct Sphere {
pub radius: f32,
pub extra: Vec<Extra>,
}
Expand description
Describes a centered sphere primitive.
Fields§
§radius: f32
The radius of the sphere.
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Sphere
impl RefUnwindSafe for Sphere
impl Send for Sphere
impl Sync for Sphere
impl Unpin for Sphere
impl UnwindSafe for Sphere
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