pub struct Feature {
pub id: String,
pub solid: String,
pub kind: FeatureKind,
pub faces: Vec<String>,
pub direction: Point3,
pub machinable: bool,
pub reason: Option<String>,
}Fields§
§id: String§solid: StringPersistent body name.
kind: FeatureKind§faces: Vec<String>Persistent face names the feature is made of (floor and walls, the chamfer face, the hole walls, …).
direction: Point3Direction the tool approaches along (machine space, unit).
machinable: bool§reason: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Feature
impl<'de> Deserialize<'de> for Feature
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
impl StructuralPartialEq for Feature
Auto Trait Implementations§
impl Forget for Feature
impl Freeze for Feature
impl Move for Feature
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnsafeUnpin for Feature
impl UnwindSafe for Feature
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