pub struct StepAssembly {
pub products: Vec<StepProduct>,
pub occurrences: Vec<StepOccurrence>,
pub roots: Vec<usize>,
pub first_error: Option<String>,
}Expand description
A STEP file’s product structure, with geometry, and without a single transform applied to it.
Fields§
§products: Vec<StepProduct>Every product the structure mentions, ordered by ascending pd_ref.
occurrences: Vec<StepOccurrence>One entry per NAUO edge, ordered by ascending nauo_ref.
roots: Vec<usize>Indices of the products that are never an occurrence child — where a consumer starts composing world transforms.
first_error: Option<String>The first body-reconstruction error, if any body failed.
Trait Implementations§
Source§impl Clone for StepAssembly
impl Clone for StepAssembly
Source§fn clone(&self) -> StepAssembly
fn clone(&self) -> StepAssembly
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 StepAssembly
impl Debug for StepAssembly
Source§impl<'de> Deserialize<'de> for StepAssembly
impl<'de> Deserialize<'de> for StepAssembly
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for StepAssembly
impl !Sync for StepAssembly
impl Freeze for StepAssembly
impl Send for StepAssembly
impl Unpin for StepAssembly
impl UnsafeUnpin for StepAssembly
impl UnwindSafe for StepAssembly
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