pub struct MassLine {Show 16 fields
pub level: usize,
pub find_number: i32,
pub item_number: String,
pub revision_id: Option<Uuid>,
pub revision_code: Option<String>,
pub name: String,
pub quantity: f64,
pub factor: f64,
pub source: Source,
pub source_label: &'static str,
pub detail: String,
pub unit_mass_kg: Option<f64>,
pub total_mass_kg: Option<f64>,
pub cg_m: Option<V3>,
pub warnings: Vec<String>,
pub geometry: Option<GeometryInfo>,
}Fields§
§level: usize§find_number: i32§item_number: String§revision_id: Option<Uuid>§revision_code: Option<String>§name: String§quantity: f64§factor: f64quantity / instances: copies of the source body this line adds.
source: Source§source_label: &'static str§detail: StringFile name, density and material, or the measurement note.
unit_mass_kg: Option<f64>§total_mass_kg: Option<f64>§cg_m: Option<V3>CG of the placed mass of this line (m).
warnings: Vec<String>§geometry: Option<GeometryInfo>The geometry file and how it was chosen; the candidates when ambiguous.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MassLine
impl RefUnwindSafe for MassLine
impl Send for MassLine
impl Sync for MassLine
impl Unpin for MassLine
impl UnsafeUnpin for MassLine
impl UnwindSafe for MassLine
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.