[][src]Struct kes::Interpreter

pub struct Interpreter<'b, P: Printer> { /* fields omitted */ }

Methods

impl<'b, P: Printer> Interpreter<'b, P>[src]

pub fn new(bump: &'b Bump) -> Self[src]

pub fn bump(&self) -> &'b Bump[src]

pub fn insert_builtin(
    &mut self,
    name: &'b str,
    func: fn(_: &mut Context<'b, '_, P>)
)
[src]

pub fn load_script(&mut self, name: &'b str, source: &str)[src]

pub fn run_script(&mut self, name: &str, printer: &mut P) -> bool[src]

Auto Trait Implementations

impl<'b, P> !RefUnwindSafe for Interpreter<'b, P>

impl<'b, P> !Send for Interpreter<'b, P>

impl<'b, P> !Sync for Interpreter<'b, P>

impl<'b, P> Unpin for Interpreter<'b, P>

impl<'b, P> !UnwindSafe for Interpreter<'b, P>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.