[−][src]Struct kes::Interpreter
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]
&mut self,
name: &'b str,
func: fn(_: &mut Context<'b, '_, P>)
)
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,