Enum roost_lang::interpreter::value::BuiltIn
source · [−]pub enum BuiltIn {
Function(for<'tree> fn(args: Vec<WrappedValue<'tree>>, span: &Span) -> Result<WrappedValue<'tree>, Error>),
Method(for<'tree> fn(this: &WrappedValue<'tree>, args: Vec<WrappedValue<'tree>>, span: &Span) -> Result<WrappedValue<'tree>, Error>),
Print {
newline: bool,
stderr: bool,
},
Exit,
Debug,
}
Variants
Function(for<'tree> fn(args: Vec<WrappedValue<'tree>>, span: &Span) -> Result<WrappedValue<'tree>, Error>)
Method(for<'tree> fn(this: &WrappedValue<'tree>, args: Vec<WrappedValue<'tree>>, span: &Span) -> Result<WrappedValue<'tree>, Error>)
Print
Exit
Debug
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BuiltIn
impl Send for BuiltIn
impl Sync for BuiltIn
impl Unpin for BuiltIn
impl UnwindSafe for BuiltIn
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