pub struct CompoundSphere {
pub sphere: Sphere,
pub material_index: i32,
}Expand description
A sphere that lives in a compound. (b3CompoundSphere)
Fields§
§sphere: Sphere§material_index: i32Trait Implementations§
Source§impl Clone for CompoundSphere
impl Clone for CompoundSphere
Source§fn clone(&self) -> CompoundSphere
fn clone(&self) -> CompoundSphere
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CompoundSphere
Source§impl Debug for CompoundSphere
impl Debug for CompoundSphere
Source§impl Default for CompoundSphere
impl Default for CompoundSphere
Source§fn default() -> CompoundSphere
fn default() -> CompoundSphere
Returns the “default value” for a type. Read more
Source§impl PartialEq for CompoundSphere
impl PartialEq for CompoundSphere
impl StructuralPartialEq for CompoundSphere
Auto Trait Implementations§
impl Freeze for CompoundSphere
impl RefUnwindSafe for CompoundSphere
impl Send for CompoundSphere
impl Sync for CompoundSphere
impl Unpin for CompoundSphere
impl UnsafeUnpin for CompoundSphere
impl UnwindSafe for CompoundSphere
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