pub struct StepExportProduct {
pub name: String,
pub id: String,
pub bodies: Vec<(String, BrepSolid)>,
}Expand description
One product of an exported structure: a part, a sub-assembly, or the root
document. bodies are in the product’s OWN local frame — never posed.
Fields§
§name: StringPRODUCT.name — the parts-library entry name, or the document name.
id: StringPRODUCT.id — the vendor part number. The name is used when empty.
bodies: Vec<(String, BrepSolid)>This product’s own solids and their part-local scene names. Empty for a
pure assembly node, which is then written as a bare SHAPE_REPRESENTATION.
Trait Implementations§
Source§impl Clone for StepExportProduct
impl Clone for StepExportProduct
Source§fn clone(&self) -> StepExportProduct
fn clone(&self) -> StepExportProduct
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 StepExportProduct
impl Debug for StepExportProduct
Source§impl Default for StepExportProduct
impl Default for StepExportProduct
Source§fn default() -> StepExportProduct
fn default() -> StepExportProduct
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for StepExportProduct
impl !Sync for StepExportProduct
impl Freeze for StepExportProduct
impl Send for StepExportProduct
impl Unpin for StepExportProduct
impl UnsafeUnpin for StepExportProduct
impl UnwindSafe for StepExportProduct
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