pub struct ScopeData {
pub id: ScopeId,
pub parent: Option<ScopeId>,
pub kind: ScopeKind,
pub bindings: HashMap<String, BindingId>,
}Fields§
§id: ScopeId§parent: Option<ScopeId>§kind: ScopeKind§bindings: HashMap<String, BindingId>Bindings declared directly in this scope, keyed by name. Maps to BindingId for lookup in the binding table.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ScopeData
impl<'de> Deserialize<'de> for ScopeData
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
Auto Trait Implementations§
impl Freeze for ScopeData
impl RefUnwindSafe for ScopeData
impl Send for ScopeData
impl Sync for ScopeData
impl Unpin for ScopeData
impl UnsafeUnpin for ScopeData
impl UnwindSafe for ScopeData
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