pub struct Shapes(/* private fields */);Expand description
The mass properties of solids’ shapes — of unit density, each in its own part’s frame — each integrated once, however often its part is placed.
Implementations§
Source§impl Shapes
impl Shapes
Sourcepub fn of(&mut self, solid: &PlacedSolid<'_>) -> GeopResult<MassProperties>
pub fn of(&mut self, solid: &PlacedSolid<'_>) -> GeopResult<MassProperties>
The mass properties of the shape of solid.
Trait Implementations§
Auto Trait Implementations§
impl !Send for Shapes
impl !Sync for Shapes
impl Freeze for Shapes
impl RefUnwindSafe for Shapes
impl Unpin for Shapes
impl UnsafeUnpin for Shapes
impl UnwindSafe for Shapes
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