pub enum PickKind {
Vertex = 0,
Edge = 1,
Face = 2,
Plane = 3,
Solid = 4,
Component = 5,
}Variants§
Vertex = 0
Edge = 1
Face = 2
Plane = 3
A construction PLANE / DATUM base plane (the pick-list category right
AFTER faces). Never produced by the ray tests here — the plane cards live
in the widget registry, so the engine appends one candidate per drawn card
the pointer ray crosses (EngineState::pick_candidates_at); name is the
datum FRAME name (Pl, Datum:XY), solid is empty.
Ranking below FACE is deliberate: a plane competes for a pick by KIND, not
by depth, so a face under the cursor always out-priorities the (large,
unshaded) plane card — the plane is still listed, one row down, instead of
swallowing the click. See EngineState::pick_candidates_at.
Solid = 4
Component = 5
An assembly COMPONENT entry (the pick-list category after solids). Never
produced by the ray tests here — the engine appends one per owning
component when the selection filter’s COMPONENT lane is on
(candidates_filtered_at); name is the component id, solid is empty.
Implementations§
Trait Implementations§
impl Copy for PickKind
impl Eq for PickKind
Source§impl Ord for PickKind
impl Ord for PickKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for PickKind
impl PartialOrd for PickKind
impl StructuralPartialEq for PickKind
Auto Trait Implementations§
impl Freeze for PickKind
impl RefUnwindSafe for PickKind
impl Send for PickKind
impl Sync for PickKind
impl Unpin for PickKind
impl UnsafeUnpin for PickKind
impl UnwindSafe for PickKind
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
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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
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> ⓘ
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> ⓘ
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