pub struct MassReport {Show 22 fields
pub rule: RevisionRule,
pub root_revision_id: Uuid,
pub root_label: String,
pub root_name: String,
pub root_source: Source,
pub root_detail: String,
pub root_geometry: Option<GeometryInfo>,
pub reference_m: V3,
pub mass_kg: f64,
pub placed_mass_kg: f64,
pub unplaced_mass_kg: f64,
pub cg_m: Option<V3>,
pub inertia_cg: Option<Sym>,
pub inertia_ref: Option<Sym>,
pub principal_moments: Option<V3>,
pub lines: Vec<MassLine>,
pub line_count: usize,
pub restricted_lines: usize,
pub missing_lines: usize,
pub complete: bool,
pub warnings: Vec<String>,
pub lines_with_warnings: usize,
}Fields§
§rule: RevisionRule§root_revision_id: Uuid§root_label: String§root_name: String§root_source: SourceSource of the root itself (measured, assembly, computed …).
root_detail: String§root_geometry: Option<GeometryInfo>The geometry file of the root and how it was chosen (a part).
reference_m: V3The point the second inertia tensor is taken about (m).
mass_kg: f64Placed plus unplaced mass.
placed_mass_kg: f64§unplaced_mass_kg: f64§cg_m: Option<V3>CG of the placed mass (m); None without placed mass.
inertia_cg: Option<Sym>About the CG, tensor form [xx, yy, zz, xy, yz, xz] (kg·m²).
inertia_ref: Option<Sym>About MassReport::reference_m.
principal_moments: Option<V3>Principal moments about the CG, largest first.
lines: Vec<MassLine>§line_count: usize§restricted_lines: usize§missing_lines: usize§complete: boolEvery line has a placed mass, nothing restricted, no warnings.
warnings: Vec<String>Warnings about the whole result.
lines_with_warnings: usizeLines with warnings.
Trait Implementations§
Source§impl Clone for MassReport
impl Clone for MassReport
Source§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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> Parallelizable for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.