pub struct SymbolInner {
pub def: SymbolDefinition,
pub parent: Option<Symbol>,
pub children: SymbolMap,
pub used: bool,
}
Expand description
Symbol content
Fields§
§def: SymbolDefinition
Symbol definition
parent: Option<Symbol>
Symbol’s parent
children: SymbolMap
Symbol’s children
used: bool
Flag if this symbol was in use
Trait Implementations§
Source§impl Clone for SymbolInner
impl Clone for SymbolInner
Source§fn clone(&self) -> SymbolInner
fn clone(&self) -> SymbolInner
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 SymbolInner
impl Debug for SymbolInner
Source§impl Default for SymbolInner
impl Default for SymbolInner
Source§impl SrcReferrer for SymbolInner
impl SrcReferrer for SymbolInner
Auto Trait Implementations§
impl Freeze for SymbolInner
impl !RefUnwindSafe for SymbolInner
impl !Send for SymbolInner
impl !Sync for SymbolInner
impl Unpin for SymbolInner
impl !UnwindSafe for SymbolInner
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more