pub struct ScopeEntry {
pub local_id: u32,
pub parent: Option<u32>,
pub kind: ScopeKind,
pub span: ByteSpan,
}Expand description
A deterministic source-local scope. local_id is assigned in preorder.
Fields§
§local_id: u32§parent: Option<u32>§kind: ScopeKind§span: ByteSpanTrait Implementations§
Source§impl Clone for ScopeEntry
impl Clone for ScopeEntry
Source§fn clone(&self) -> ScopeEntry
fn clone(&self) -> ScopeEntry
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 ScopeEntry
impl Debug for ScopeEntry
Source§impl<'de> Deserialize<'de> for ScopeEntry
impl<'de> Deserialize<'de> for ScopeEntry
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
impl Eq for ScopeEntry
Source§impl PartialEq for ScopeEntry
impl PartialEq for ScopeEntry
Source§impl Serialize for ScopeEntry
impl Serialize for ScopeEntry
impl StructuralPartialEq for ScopeEntry
Auto Trait Implementations§
impl Freeze for ScopeEntry
impl RefUnwindSafe for ScopeEntry
impl Send for ScopeEntry
impl Sync for ScopeEntry
impl Unpin for ScopeEntry
impl UnsafeUnpin for ScopeEntry
impl UnwindSafe for ScopeEntry
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