pub struct ScopeSnapshot {
pub package_name: String,
pub locals: Vec<String>,
pub our_vars: Vec<String>,
pub parent_isa: Vec<String>,
}Expand description
Incremental parsing implementation and helpers. Scope information at a parse checkpoint
Fields§
§package_name: String§locals: Vec<String>§our_vars: Vec<String>§parent_isa: Vec<String>Trait Implementations§
Source§impl Clone for ScopeSnapshot
impl Clone for ScopeSnapshot
Source§fn clone(&self) -> ScopeSnapshot
fn clone(&self) -> ScopeSnapshot
Returns a duplicate of the value. Read more
1.0.0 · 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 ScopeSnapshot
impl Debug for ScopeSnapshot
Source§impl Default for ScopeSnapshot
impl Default for ScopeSnapshot
Source§fn default() -> ScopeSnapshot
fn default() -> ScopeSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScopeSnapshot
impl RefUnwindSafe for ScopeSnapshot
impl Send for ScopeSnapshot
impl Sync for ScopeSnapshot
impl Unpin for ScopeSnapshot
impl UnsafeUnpin for ScopeSnapshot
impl UnwindSafe for ScopeSnapshot
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