pub struct Level {
pub path: String,
pub name: String,
pub components: Vec<Component>,
pub mates: Vec<(String, String)>,
pub exploded_order: Vec<String>,
}Expand description
One assembly level: its components and the mates between them.
Fields§
§path: StringThe occurrence path of this assembly; "" for the target itself.
name: StringThe assembly’s part name.
components: Vec<Component>Components in the assembly’s own (history) order.
mates: Vec<(String, String)>Mates, as pairs of component paths of THIS level. A mate between parts inside two sub-assemblies is given as the two sub-assembly paths.
exploded_order: Vec<String>Component paths in the order the assembly’s exploded view moves them out; empty when it has none.
Trait Implementations§
impl StructuralPartialEq for Level
Auto Trait Implementations§
impl Forget for Level
impl Freeze for Level
impl Move for Level
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnsafeUnpin for Level
impl UnwindSafe for Level
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