pub struct StepAssemblyReport {
pub parts: usize,
pub instances: usize,
pub baked_nonrigid: usize,
pub failed_products: usize,
pub first_error: Option<String>,
pub flat_fallback: bool,
}Expand description
What an import did — the numbers the status line and notice report.
Fields§
§parts: usizeParts-library entries this import added or reused — the entries of the USER’S document. On a nested import that is the top level only: a sub-assembly’s own entries live in ITS document’s library, which the parent never sees.
instances: usizeACOMP instance features appended to the user’s document. Nested: one per ROOT-level occurrence (a sub-assembly is one component, per build-spec §2.2), not one per leaf body.
baked_nonrigid: usizeOccurrences whose non-rigid factor was baked into a distinct part (§3.4), summed over every level a nested import built.
failed_products: usizeProducts (or baked non-rigid variants of one) that did not encode to a payload — skipped and counted, never fatal: the importer’s graceful-degradation contract, carried up to this altitude. Summed over every level a nested import built.
first_error: Option<String>The first thing that went wrong, from the kernel’s body-build errors or this lane’s own encode failures.
flat_fallback: boolThe structured lane did not run: the file carries no usable structure, or
nothing in it encoded, so the bodies were imported through the flat lane
exactly as before. Only ever true from EngineState::import_step_assembly,
which holds the text; the dialog-driven entry point returns Err instead
and lets its caller re-run the flat import it already has the text for.
Trait Implementations§
Source§impl Clone for StepAssemblyReport
impl Clone for StepAssemblyReport
Source§fn clone(&self) -> StepAssemblyReport
fn clone(&self) -> StepAssemblyReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StepAssemblyReport
impl Debug for StepAssemblyReport
Source§impl Default for StepAssemblyReport
impl Default for StepAssemblyReport
Source§fn default() -> StepAssemblyReport
fn default() -> StepAssemblyReport
impl Eq for StepAssemblyReport
Source§impl PartialEq for StepAssemblyReport
impl PartialEq for StepAssemblyReport
impl StructuralPartialEq for StepAssemblyReport
Auto Trait Implementations§
impl Freeze for StepAssemblyReport
impl RefUnwindSafe for StepAssemblyReport
impl Send for StepAssemblyReport
impl Sync for StepAssemblyReport
impl Unpin for StepAssemblyReport
impl UnsafeUnpin for StepAssemblyReport
impl UnwindSafe for StepAssemblyReport
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
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
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> ⓘ
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 more