pub struct Package {
pub main_model: Model,
pub parts: HashMap<String, Model>,
}Expand description
Represents a 3MF Package, which can contain multiple model parts.
Fields§
§main_model: ModelThe main model part (usually /3D/3dmodel.model).
parts: HashMap<String, Model>Additional model parts keyed by their package path.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Package
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnwindSafe for Package
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