pub struct ExternalRef {
pub edge_name: String,
pub solid_name: String,
pub point_ids: Vec<Value>,
pub geom_ids: Vec<Value>,
pub kind: String,
}Expand description
A per-session external-reference mapping: the linked scene edge (by name + owning
solid) and the sketch entities materialized for it. Persisted to / loaded from
persistentData.externalRefs so a linked edge round-trips a commit + re-enter.
Fields§
§edge_name: StringKernel edge name (the dedup key).
solid_name: StringOwning solid’s scene name (metadata; may be empty).
point_ids: Vec<Value>The materialized point ids (order matches the link’s geometry).
geom_ids: Vec<Value>The materialized geometry ids (one for line/circle/arc; N-1 for a polyline chain).
kind: StringThe link classification ("line"|"circle"|"arc"|"polyline").
Trait Implementations§
Source§impl Clone for ExternalRef
impl Clone for ExternalRef
Source§fn clone(&self) -> ExternalRef
fn clone(&self) -> ExternalRef
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 ExternalRef
impl Debug for ExternalRef
Source§impl<'de> Deserialize<'de> for ExternalRef
impl<'de> Deserialize<'de> for ExternalRef
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 PartialEq for ExternalRef
impl PartialEq for ExternalRef
Source§impl Serialize for ExternalRef
impl Serialize for ExternalRef
impl StructuralPartialEq for ExternalRef
Auto Trait Implementations§
impl Freeze for ExternalRef
impl RefUnwindSafe for ExternalRef
impl Send for ExternalRef
impl Sync for ExternalRef
impl Unpin for ExternalRef
impl UnsafeUnpin for ExternalRef
impl UnwindSafe for ExternalRef
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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