[][src]Trait kes::builtin::Builtin

pub trait Builtin {
#[must_use]    fn run<'c, 'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        name: &'life1 str,
        ctx: &'life2 mut Context<'c>
    ) -> Pin<Box<dyn Future<Output = Option<Value<'c>>> + 'async_trait>>
    where
        'c: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
fn load<'b>(&mut self, name: &str, b: &'b Bump) -> Value<'b>;
fn print(&mut self, v: Value);
fn new_line(&mut self);
#[must_use] fn wait<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn run<'c, 'life0, 'life1, 'life2, 'async_trait>(
    &'life0 mut self,
    name: &'life1 str,
    ctx: &'life2 mut Context<'c>
) -> Pin<Box<dyn Future<Output = Option<Value<'c>>> + 'async_trait>> where
    'c: 'async_trait,
    'life0: 'async_trait,
    'life1: 'async_trait,
    'life2: 'async_trait,
    Self: 'async_trait, 

fn load<'b>(&mut self, name: &str, b: &'b Bump) -> Value<'b>

fn print(&mut self, v: Value)

fn new_line(&mut self)

#[must_use]fn wait<'life0, 'async_trait>(
    &'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementations on Foreign Types

impl<'a, B: Builtin> Builtin for &'a mut B[src]

Loading content...

Implementors

Loading content...