pub enum PathRef {
Unresolved(String),
Native(String),
Sketch(SketchId),
SpatialSketchSelection {
sketch: SpatialSketchId,
selections: Vec<String>,
},
Edges(Vec<EdgeId>),
Curves(Vec<CurveId>),
HistoricalEdges {
state: FeatureInputTopologyId,
edges: Vec<HistoricalEdgeId>,
native: String,
},
}Expand description
Trajectory consumed by a sweep or path-driven operation.
Variants§
Unresolved(String)
Source path exists but its neutral members remain unresolved.
Native(String)
Opaque reference into a native path record.
Sketch(SketchId)
Ordered geometry from a neutral sketch.
SpatialSketchSelection
Source-native curve selection within a known neutral spatial sketch.
Fields
§
sketch: SpatialSketchIdSpatial sketch containing the selected curves.
Edges(Vec<EdgeId>)
Path resolved as ordered topological edges.
Curves(Vec<CurveId>)
Path resolved as ordered geometric curves.
HistoricalEdges
Path resolved as ordered edges in the consuming feature’s input topology.
Fields
§
state: FeatureInputTopologyIdInput topology containing every path edge.
§
edges: Vec<HistoricalEdgeId>State-local edge identities in path order.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PathRef
impl<'de> Deserialize<'de> for PathRef
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 JsonSchema for PathRef
impl JsonSchema for PathRef
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for PathRef
Auto Trait Implementations§
impl Freeze for PathRef
impl RefUnwindSafe for PathRef
impl Send for PathRef
impl Sync for PathRef
impl Unpin for PathRef
impl UnsafeUnpin for PathRef
impl UnwindSafe for PathRef
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