pub struct StepAssemblyOutline {
pub parts: usize,
pub instances: usize,
pub nested_depth: usize,
}Expand description
What read_step_assembly_outline reads: the counts an import dialog shows,
from the product structure alone, before a single body is built.
Fields§
§parts: usizeDistinct products the walk reaches that list at least one body.
instances: usizeOccurrences (root included) of those products: one per placed instance.
nested_depth: usizeLongest root-to-instance chain of occurrence edges; 1 is a flat
assembly, > 1 means sub-assemblies exist.
Trait Implementations§
Source§impl Clone for StepAssemblyOutline
impl Clone for StepAssemblyOutline
impl Copy for StepAssemblyOutline
Source§impl Debug for StepAssemblyOutline
impl Debug for StepAssemblyOutline
Source§impl<'de> Deserialize<'de> for StepAssemblyOutline
impl<'de> Deserialize<'de> for StepAssemblyOutline
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
impl Eq for StepAssemblyOutline
Source§impl PartialEq for StepAssemblyOutline
impl PartialEq for StepAssemblyOutline
Source§impl Serialize for StepAssemblyOutline
impl Serialize for StepAssemblyOutline
impl StructuralPartialEq for StepAssemblyOutline
Auto Trait Implementations§
impl Forget for StepAssemblyOutline
impl Freeze for StepAssemblyOutline
impl Move for StepAssemblyOutline
impl RefUnwindSafe for StepAssemblyOutline
impl Send for StepAssemblyOutline
impl Sync for StepAssemblyOutline
impl Unpin for StepAssemblyOutline
impl UnsafeUnpin for StepAssemblyOutline
impl UnwindSafe for StepAssemblyOutline
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compare self to
key and return true if they are equal.