Enum endbasic_core::syms::Symbol
source · [−]pub enum Symbol {
Array(Array),
Command(Rc<dyn Command>),
Function(Rc<dyn Function>),
Variable(Value),
}
Expand description
Holds the definition of a symbol.
Variants
Array(Array)
An array definition.
Command(Rc<dyn Command>)
A command definition.
Function(Rc<dyn Function>)
A function definition.
Variable(Value)
A variable definition.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Symbol
impl !Send for Symbol
impl !Sync for Symbol
impl Unpin for Symbol
impl !UnwindSafe for Symbol
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more