Enum brane_dsl::symbol_table::SymbolTableEntry
source · pub enum SymbolTableEntry {
FunctionEntry(Rc<RefCell<FunctionEntry>>),
ClassEntry(Rc<RefCell<ClassEntry>>),
VarEntry(Rc<RefCell<VarEntry>>),
}
Expand description
Defines a symbol table entry within the SymbolTable.
Variants§
FunctionEntry(Rc<RefCell<FunctionEntry>>)
Defines a function entry within the SymbolTable.
ClassEntry(Rc<RefCell<ClassEntry>>)
Defines a class entry (i.e., custom type) within the SymbolTable.
VarEntry(Rc<RefCell<VarEntry>>)
Defines a regular variable entry within the SymbolTable.
Trait Implementations§
source§impl Clone for SymbolTableEntry
impl Clone for SymbolTableEntry
source§fn clone(&self) -> SymbolTableEntry
fn clone(&self) -> SymbolTableEntry
Returns a copy 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 SymbolTableEntry
impl Debug for SymbolTableEntry
source§impl From<Rc<RefCell<ClassEntry>>> for SymbolTableEntry
impl From<Rc<RefCell<ClassEntry>>> for SymbolTableEntry
source§impl From<Rc<RefCell<FunctionEntry>>> for SymbolTableEntry
impl From<Rc<RefCell<FunctionEntry>>> for SymbolTableEntry
Auto Trait Implementations§
impl Freeze for SymbolTableEntry
impl !RefUnwindSafe for SymbolTableEntry
impl !Send for SymbolTableEntry
impl !Sync for SymbolTableEntry
impl Unpin for SymbolTableEntry
impl !UnwindSafe for SymbolTableEntry
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request