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
Source§impl Default for FeaturePreview
impl Default for FeaturePreview
Source§impl<'de> Deserialize<'de> for FeaturePreview
impl<'de> Deserialize<'de> for FeaturePreview
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for FeaturePreview
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