#[non_exhaustive]pub struct LayerMeshes {
pub parts: Vec<Option<LayerMesh>>,
pub openings: Vec<EntityId>,
pub taken_as_applied: Vec<EntityId>,
}Expand description
A product’s Body split by a LayerCut, one mesh per layer.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parts: Vec<Option<LayerMesh>>One entry per layer of the cut, in order; None for a zero-thick
layer.
openings: Vec<EntityId>The openings subtracted, in ascending id, for LayerBody::Net.
taken_as_applied: Vec<EntityId>The openings the Body already carries, taken as applied, for
LayerBody::Net.
Trait Implementations§
Source§impl Clone for LayerMeshes
impl Clone for LayerMeshes
Source§fn clone(&self) -> LayerMeshes
fn clone(&self) -> LayerMeshes
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 LayerMeshes
impl RefUnwindSafe for LayerMeshes
impl Send for LayerMeshes
impl Sync for LayerMeshes
impl Unpin for LayerMeshes
impl UnsafeUnpin for LayerMeshes
impl UnwindSafe for LayerMeshes
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