pub struct BodyMass {
pub name: String,
pub material: Option<Material>,
pub properties: Option<MassSummary>,
pub error: Option<String>,
pub drawn: Vec<PickedElement>,
}Expand description
One solid’s mass properties, or why they could not be computed.
Fields§
§name: StringThe solid, named as the part shown names it.
material: Option<Material>What it is made of: its part’s material, none where it is not given — then it has no mass, only a volume and a centroid.
properties: Option<MassSummary>§error: Option<String>§drawn: Vec<PickedElement>What is drawn of it, to light.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BodyMass
impl RefUnwindSafe for BodyMass
impl Send for BodyMass
impl Sync for BodyMass
impl Unpin for BodyMass
impl UnsafeUnpin for BodyMass
impl UnwindSafe for BodyMass
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