pub struct StepExportOccurrence {
pub designator: String,
pub parent: usize,
pub child: usize,
pub placement: Mat4,
}Expand description
One placement of child inside parent — a NEXT_ASSEMBLY_USAGE_OCCURRENCE.
Fields§
§designator: StringThe instance label: the placing component’s id (ACOMP3). Written into
the NAUO’s reference_designator, which is what the importer reads back
first, so an instance keeps its identity through the round trip.
parent: usizeIndex into StepAssemblyExport::products.
child: usizeIndex into StepAssemblyExport::products.
placement: Mat4child-local -> parent-local, row-major affine. Must be RIGID: a mirrored
or scaled instance has no AXIS2_PLACEMENT_3D and is rejected rather
than silently written as its rotation part.
Trait Implementations§
Source§impl Clone for StepExportOccurrence
impl Clone for StepExportOccurrence
Source§fn clone(&self) -> StepExportOccurrence
fn clone(&self) -> StepExportOccurrence
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 moreAuto Trait Implementations§
impl Freeze for StepExportOccurrence
impl RefUnwindSafe for StepExportOccurrence
impl Send for StepExportOccurrence
impl Sync for StepExportOccurrence
impl Unpin for StepExportOccurrence
impl UnsafeUnpin for StepExportOccurrence
impl UnwindSafe for StepExportOccurrence
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