pub struct Sketch3dGeometry {
pub id: Value,
pub geom_type: String,
pub points: Vec<Value>,
pub extra: Map<String, Value>,
}Expand description
A 3D sketch geometry (see the module doc for the point layouts).
Fields§
§id: Value§geom_type: String§points: Vec<Value>§extra: Map<String, Value>Every field not modelled explicitly (construction, authoring
metadata) rides along so a load/save is lossless.
Implementations§
Source§impl Sketch3dGeometry
impl Sketch3dGeometry
Sourcepub fn construction(&self) -> bool
pub fn construction(&self) -> bool
Whether this geometry is construction-only (never a model edge). A
reference plane is construction by nature.
Trait Implementations§
Source§impl Clone for Sketch3dGeometry
impl Clone for Sketch3dGeometry
Source§impl Debug for Sketch3dGeometry
impl Debug for Sketch3dGeometry
Source§impl<'de> Deserialize<'de> for Sketch3dGeometry
impl<'de> Deserialize<'de> for Sketch3dGeometry
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
Source§impl PartialEq for Sketch3dGeometry
impl PartialEq for Sketch3dGeometry
Source§impl Serialize for Sketch3dGeometry
impl Serialize for Sketch3dGeometry
impl StructuralPartialEq for Sketch3dGeometry
Auto Trait Implementations§
impl Forget for Sketch3dGeometry
impl Freeze for Sketch3dGeometry
impl RefUnwindSafe for Sketch3dGeometry
impl Send for Sketch3dGeometry
impl Sync for Sketch3dGeometry
impl Unpin for Sketch3dGeometry
impl UnsafeUnpin for Sketch3dGeometry
impl UnwindSafe for Sketch3dGeometry
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