pub enum SolidRef {
Solid(ManifoldSolidBrepId),
VoidSolid(BrepWithVoidsId),
}Expand description
Which solid a display mesh tessellates (StepBuilder::mesh): a plain
solid or one with voids
(solid_with_voids). The id types convert
with Into, so Some(body.into()) works for either.
Variants§
Solid(ManifoldSolidBrepId)
VoidSolid(BrepWithVoidsId)
Trait Implementations§
impl Copy for SolidRef
Source§impl From<BrepWithVoidsId> for SolidRef
impl From<BrepWithVoidsId> for SolidRef
Source§fn from(id: BrepWithVoidsId) -> Self
fn from(id: BrepWithVoidsId) -> Self
Converts to this type from the input type.
Source§impl From<ManifoldSolidBrepId> for SolidRef
impl From<ManifoldSolidBrepId> for SolidRef
Source§fn from(id: ManifoldSolidBrepId) -> Self
fn from(id: ManifoldSolidBrepId) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SolidRef
impl RefUnwindSafe for SolidRef
impl Send for SolidRef
impl Sync for SolidRef
impl Unpin for SolidRef
impl UnsafeUnpin for SolidRef
impl UnwindSafe for SolidRef
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