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§fn clone(&self) -> Sketch3dGeometry
fn clone(&self) -> Sketch3dGeometry
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 moreSource§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<Sketch3dGeometry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Sketch3dGeometry, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Sketch3dGeometry
Auto Trait Implementations§
impl Forget for Sketch3dGeometry
impl Freeze for Sketch3dGeometrywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for Sketch3dGeometry
impl RefUnwindSafe for Sketch3dGeometry
impl Send for Sketch3dGeometry
impl Sync for Sketch3dGeometry
impl Unpin for Sketch3dGeometry
impl UnsafeUnpin for Sketch3dGeometrywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
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