pub enum RefSelectTarget {
Feature,
AssemblyConstraint,
SplineAnchor {
index: usize,
},
Pmi,
}Expand description
WHO a finished reference-selection commits to: a history FEATURE’s params
(the original widget) or an ASSEMBLY CONSTRAINT’s inputParams (same modal,
different commit lane — see assembly_ops::begin_ref_select_for_constraint).
Variants§
Feature
AssemblyConstraint
SplineAnchor
ONE SPLINE ANCHOR’s port attachment: path is unused, the picked name
must be a PORT feature id (a click on a port’s drawn sheet), and Finish
writes persistentData.spline.points[index].attachment (see
spline_edit.rs).
Pmi
A PMI annotation’s reference field: feature_id is the annotation id;
Finish writes the picked names into its params through the PMI block
(pmi_ops.rs). Vertex picks are {solid}@x,y,z in WORLD coordinates.
Trait Implementations§
Source§impl Clone for RefSelectTarget
impl Clone for RefSelectTarget
Source§fn clone(&self) -> RefSelectTarget
fn clone(&self) -> RefSelectTarget
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 moreimpl Copy for RefSelectTarget
Source§impl Debug for RefSelectTarget
impl Debug for RefSelectTarget
Source§impl Default for RefSelectTarget
impl Default for RefSelectTarget
Source§fn default() -> RefSelectTarget
fn default() -> RefSelectTarget
Returns the “default value” for a type. Read more
impl Eq for RefSelectTarget
Source§impl PartialEq for RefSelectTarget
impl PartialEq for RefSelectTarget
impl StructuralPartialEq for RefSelectTarget
Auto Trait Implementations§
impl Freeze for RefSelectTarget
impl RefUnwindSafe for RefSelectTarget
impl Send for RefSelectTarget
impl Sync for RefSelectTarget
impl Unpin for RefSelectTarget
impl UnsafeUnpin for RefSelectTarget
impl UnwindSafe for RefSelectTarget
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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