pub struct FeaturePreview {
pub shown: Option<Box<SolidBuildResult>>,
pub tool: TriMesh,
pub cuts: bool,
}Expand description
What a feature being edited does to its body, beside the body without it: the view while it is edited.
Fields§
§shown: Option<Box<SolidBuildResult>>The body to show meanwhile: as it stood before a feature that adds, after one that cuts. None when an adding feature is the body’s first.
tool: TriMeshThe feature’s own tool solid, meshed: the material it adds or takes.
cuts: boolThe feature cuts.
Trait Implementations§
Source§impl Clone for FeaturePreview
impl Clone for FeaturePreview
Source§impl Debug for FeaturePreview
impl Debug for FeaturePreview
Auto Trait Implementations§
impl Freeze for FeaturePreview
impl RefUnwindSafe for FeaturePreview
impl Send for FeaturePreview
impl Sync for FeaturePreview
impl Unpin for FeaturePreview
impl UnsafeUnpin for FeaturePreview
impl UnwindSafe for FeaturePreview
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