pub enum StyleTarget {
Face(AdvancedFaceId),
Solid(ManifoldSolidBrepId),
VoidSolid(BrepWithVoidsId),
}Expand description
What a StepBuilder::style call colours: a whole solid (with or without
voids) or one face — the targets the read-side Scene resolves styles for.
Variants§
Face(AdvancedFaceId)
Solid(ManifoldSolidBrepId)
VoidSolid(BrepWithVoidsId)
A solid with internal voids (StepBuilder::solid_with_voids).
Trait Implementations§
Source§impl Clone for StyleTarget
impl Clone for StyleTarget
Source§fn clone(&self) -> StyleTarget
fn clone(&self) -> StyleTarget
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 moreimpl Copy for StyleTarget
Auto Trait Implementations§
impl Freeze for StyleTarget
impl RefUnwindSafe for StyleTarget
impl Send for StyleTarget
impl Sync for StyleTarget
impl Unpin for StyleTarget
impl UnsafeUnpin for StyleTarget
impl UnwindSafe for StyleTarget
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