pub struct SolidGeometry {
pub volume: f32,
pub centroid: [f32; 3],
pub unit_inertia: [f32; 6],
}Fields§
§volume: f32§centroid: [f32; 3]§unit_inertia: [f32; 6]Trait Implementations§
Source§impl Clone for SolidGeometry
impl Clone for SolidGeometry
Source§fn clone(&self) -> SolidGeometry
fn clone(&self) -> SolidGeometry
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 SolidGeometry
Source§impl Debug for SolidGeometry
impl Debug for SolidGeometry
Source§impl PartialEq for SolidGeometry
impl PartialEq for SolidGeometry
impl StructuralPartialEq for SolidGeometry
Auto Trait Implementations§
impl Freeze for SolidGeometry
impl RefUnwindSafe for SolidGeometry
impl Send for SolidGeometry
impl Sync for SolidGeometry
impl Unpin for SolidGeometry
impl UnsafeUnpin for SolidGeometry
impl UnwindSafe for SolidGeometry
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