Struct tcl::tcl::TclEnvironment [-] [+] [src]

pub struct TclEnvironment;

Acts as proof that Tcl has been correctly initialized for other parts of the code, and wraps all code that must

Methods

impl TclEnvironment

fn interpreter(&self) -> Result<Interpreter, &str>

Create a new Tcl interpreter

fn new_object<V: TclObject>(&self, val: V) -> Object

Create a new Tcl value