pub struct SketchEntity {
pub id: SketchId,
pub kind: SketchEntityKind,
pub construction: bool,
}Fields§
§id: SketchId§kind: SketchEntityKind§construction: boolReference-only geometry: participates in constraint solving but is excluded from profile extraction (and therefore all CSG backends).
Trait Implementations§
Source§impl Clone for SketchEntity
impl Clone for SketchEntity
Source§fn clone(&self) -> SketchEntity
fn clone(&self) -> SketchEntity
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 SketchEntity
impl Debug for SketchEntity
Source§impl<'de> Deserialize<'de> for SketchEntity
impl<'de> Deserialize<'de> for SketchEntity
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 SketchEntity
impl PartialEq for SketchEntity
Source§fn eq(&self, other: &SketchEntity) -> bool
fn eq(&self, other: &SketchEntity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SketchEntity
impl Serialize for SketchEntity
impl Copy for SketchEntity
impl StructuralPartialEq for SketchEntity
Auto Trait Implementations§
impl Freeze for SketchEntity
impl RefUnwindSafe for SketchEntity
impl Send for SketchEntity
impl Sync for SketchEntity
impl Unpin for SketchEntity
impl UnsafeUnpin for SketchEntity
impl UnwindSafe for SketchEntity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more