pub struct ScopeLineTable {
pub scope_id: DefinitionId,
pub lines: Vec<LineEntry>,
}Expand description
Per-scope line table, stored separately from ContainerDef for
locale overlay swapping (.inkl).
All containers within a lexical scope (knot, stitch, or root) share one
ScopeLineTable. EmitLine(idx) indices are scope-relative.
Fields§
§scope_id: DefinitionId§lines: Vec<LineEntry>Trait Implementations§
Source§impl Clone for ScopeLineTable
impl Clone for ScopeLineTable
Source§fn clone(&self) -> ScopeLineTable
fn clone(&self) -> ScopeLineTable
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 ScopeLineTable
impl Debug for ScopeLineTable
Source§impl PartialEq for ScopeLineTable
impl PartialEq for ScopeLineTable
Source§fn eq(&self, other: &ScopeLineTable) -> bool
fn eq(&self, other: &ScopeLineTable) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScopeLineTable
Auto Trait Implementations§
impl Freeze for ScopeLineTable
impl RefUnwindSafe for ScopeLineTable
impl Send for ScopeLineTable
impl Sync for ScopeLineTable
impl Unpin for ScopeLineTable
impl UnsafeUnpin for ScopeLineTable
impl UnwindSafe for ScopeLineTable
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