pub enum FaceSelection {
Unresolved,
Faces(Vec<FaceId>),
Resolved {
faces: Vec<FaceId>,
native: String,
},
Historical {
state: FeatureInputTopologyId,
faces: Vec<HistoricalFaceId>,
native: String,
},
HistoricalPartial {
state: FeatureInputTopologyId,
faces: Vec<HistoricalFaceId>,
unresolved: Vec<String>,
native: String,
},
Generated {
faces: Vec<GeneratedFaceRef>,
native: String,
},
Native(String),
}Expand description
Face operands resolved by the decoder or retained in native form.
Variants§
Unresolved
Selection exists semantically but its operands are not resolved.
Faces(Vec<FaceId>)
Resolved topological faces; empty for no selected faces.
Resolved
Resolved faces paired with the format-native selection required for rewrite.
Fields
Historical
Faces resolved in the containing feature’s input topology.
Fields
§
state: FeatureInputTopologyIdInput topology containing every selected face.
§
faces: Vec<HistoricalFaceId>State-local face identities in operand order.
HistoricalPartial
Historical faces proven for part of a native selection.
Fields
§
state: FeatureInputTopologyIdInput topology containing every resolved face.
§
faces: Vec<HistoricalFaceId>Proven state-local face identities in source operand order.
Generated
Faces in an intermediate regenerated feature result, paired with the format-native selection required for rewrite.
Fields
§
faces: Vec<GeneratedFaceRef>Feature-local face identities.
Native(String)
Format-native selection reference.
Trait Implementations§
Source§impl Clone for FaceSelection
impl Clone for FaceSelection
Source§fn clone(&self) -> FaceSelection
fn clone(&self) -> FaceSelection
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 FaceSelection
impl Debug for FaceSelection
Source§impl<'de> Deserialize<'de> for FaceSelection
impl<'de> Deserialize<'de> for FaceSelection
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 FaceSelection
impl JsonSchema for FaceSelection
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 moreSource§impl PartialEq for FaceSelection
impl PartialEq for FaceSelection
Source§impl Serialize for FaceSelection
impl Serialize for FaceSelection
impl StructuralPartialEq for FaceSelection
Auto Trait Implementations§
impl Freeze for FaceSelection
impl RefUnwindSafe for FaceSelection
impl Send for FaceSelection
impl Sync for FaceSelection
impl Unpin for FaceSelection
impl UnsafeUnpin for FaceSelection
impl UnwindSafe for FaceSelection
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