pub struct ProjectionValue {
pub cell: DefinitionId,
pub segments: Vec<ProjSegment>,
}Expand description
The payload of a Value::Projection — the root cell plus its ordered
segment chain (docs/t1e-spec.md §1/§3).
Fields§
§cell: DefinitionIdThe durable root cell this projection reads/writes through (a global
VAR/#@local — never a temp, enforced at compile time by T1e-1’s
E080 durable-root check). Mirrors the VAL_VAR_POINTER payload shape
(docs/format-v4-rfc.md §1: “cell reference … reused not
reinvented”).
segments: Vec<ProjSegment>The ordered path segments, fixed at creation.
Trait Implementations§
Source§impl Clone for ProjectionValue
impl Clone for ProjectionValue
Source§fn clone(&self) -> ProjectionValue
fn clone(&self) -> ProjectionValue
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 ProjectionValue
impl Debug for ProjectionValue
Source§impl<'de> Deserialize<'de> for ProjectionValue
impl<'de> Deserialize<'de> for ProjectionValue
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 ProjectionValue
impl PartialEq for ProjectionValue
Source§impl Serialize for ProjectionValue
impl Serialize for ProjectionValue
impl StructuralPartialEq for ProjectionValue
Auto Trait Implementations§
impl Freeze for ProjectionValue
impl RefUnwindSafe for ProjectionValue
impl Send for ProjectionValue
impl Sync for ProjectionValue
impl Unpin for ProjectionValue
impl UnsafeUnpin for ProjectionValue
impl UnwindSafe for ProjectionValue
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