pub struct MassReport {
pub bodies: Vec<BodyMass>,
pub total: Option<MassSummary>,
pub stopped: Option<Stopped>,
}Expand description
The mass properties of every solid a part shows, and of all of them.
Fields§
§bodies: Vec<BodyMass>§total: Option<MassSummary>All of them together — if there are any, and every one could be
computed: a total missing a body would mislead. What it says
depends on their materials (see MassSummary::center).
stopped: Option<Stopped>How far it got, if it was stopped before the end: then there is no total.
Implementations§
Trait Implementations§
Source§impl Clone for MassReport
impl Clone for MassReport
Source§fn clone(&self) -> MassReport
fn clone(&self) -> MassReport
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 moreSource§impl Debug for MassReport
impl Debug for MassReport
Auto Trait Implementations§
impl Freeze for MassReport
impl RefUnwindSafe for MassReport
impl Send for MassReport
impl Sync for MassReport
impl Unpin for MassReport
impl UnsafeUnpin for MassReport
impl UnwindSafe for MassReport
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