pub struct SketchEntityRow {
pub kind: &'static str,
pub id: Value,
pub label: String,
pub selected: bool,
pub construction: bool,
pub conflicting: bool,
}Expand description
One row in a sketch entity-LIST panel (Points / Curves / Constraints) — the
display label plus the (kind, id) needed to select / hover / delete it, and
its current selected/construction state for row styling. Built by
EngineState::sketch_point_rows / sketch_geometry_rows /
sketch_constraint_rows; the panel renders them and routes clicks back through
EngineState::sketch_select_entity / sketch_hover_entity.
Fields§
§kind: &'static strEntity ref kind: "point" | "geometry" | "constraint".
id: ValueThe entity id (opaque Value, passed straight back to select/hover).
label: StringHuman display label (mirrors the previous list rows).
selected: boolWhether this entity is in the current sketch selection (row highlight).
construction: boolConstruction-only entity (dashed / de-emphasized styling).
conflicting: boolThe solver names this entity in a CONSTRAINT CONFLICT (constraint rows only) — the panel paints the row red to match its canvas annotation.
Trait Implementations§
Source§impl Clone for SketchEntityRow
impl Clone for SketchEntityRow
Source§fn clone(&self) -> SketchEntityRow
fn clone(&self) -> SketchEntityRow
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SketchEntityRow
impl Debug for SketchEntityRow
Source§impl PartialEq for SketchEntityRow
impl PartialEq for SketchEntityRow
impl StructuralPartialEq for SketchEntityRow
Auto Trait Implementations§
impl Freeze for SketchEntityRow
impl RefUnwindSafe for SketchEntityRow
impl Send for SketchEntityRow
impl Sync for SketchEntityRow
impl Unpin for SketchEntityRow
impl UnsafeUnpin for SketchEntityRow
impl UnwindSafe for SketchEntityRow
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<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