pub struct EdgeFeatureData {
pub kind: EdgeFeatureKind,
pub size: f64,
pub segments: usize,
pub edges: Vec<EdgeSel>,
}Expand description
Payload of an EdgeFeature node: which edges to feature and how. Edges
are re-resolved against the current child geometry every evaluation, so
the feature follows parameter edits; unresolvable edges are skipped.
Fields§
§kind: EdgeFeatureKind§size: f64Chamfer setback / fillet radius, in the child’s local units.
segments: usizeTessellation for revolved fillet masks (unused by chamfers).
edges: Vec<EdgeSel>Trait Implementations§
Source§impl Clone for EdgeFeatureData
impl Clone for EdgeFeatureData
Source§fn clone(&self) -> EdgeFeatureData
fn clone(&self) -> EdgeFeatureData
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 EdgeFeatureData
impl Debug for EdgeFeatureData
Source§impl<'de> Deserialize<'de> for EdgeFeatureData
impl<'de> Deserialize<'de> for EdgeFeatureData
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 EdgeFeatureData
impl PartialEq for EdgeFeatureData
Source§fn eq(&self, other: &EdgeFeatureData) -> bool
fn eq(&self, other: &EdgeFeatureData) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EdgeFeatureData
impl Serialize for EdgeFeatureData
impl StructuralPartialEq for EdgeFeatureData
Auto Trait Implementations§
impl Freeze for EdgeFeatureData
impl RefUnwindSafe for EdgeFeatureData
impl Send for EdgeFeatureData
impl Sync for EdgeFeatureData
impl Unpin for EdgeFeatureData
impl UnsafeUnpin for EdgeFeatureData
impl UnwindSafe for EdgeFeatureData
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