pub struct Context {
pub root_id: Id,
pub edges: Vec<ContextEdge>,
}Expand description
Context metadata for grouping changes (spec Section 4.5).
Provides the path from a root entity to the changed entity, enabling context-aware change grouping (e.g., grouping block changes under their parent entity).
Fields§
§root_id: IdThe root entity for this context.
edges: Vec<ContextEdge>Path from root to the changed entity.
Trait Implementations§
impl Eq for Context
impl StructuralPartialEq for Context
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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