Trait tcl::object::TclObject
[−]
[src]
pub trait TclObject { type FromObject; fn into_object(self, _: &TclEnvironment) -> Object; fn from_object<'a>(
obj: &Object,
_: &'a mut Interpreter
) -> Result<Self::FromObject, Cow<'a, str>>; fn set_object(self, _: &mut Object); }
Associated Types
type FromObject
Required Methods
fn into_object(self, _: &TclEnvironment) -> Object
Converts self into a Tcl object.
fn from_object<'a>(
obj: &Object,
_: &'a mut Interpreter
) -> Result<Self::FromObject, Cow<'a, str>>
obj: &Object,
_: &'a mut Interpreter
) -> Result<Self::FromObject, Cow<'a, str>>
Reads the contents of this Tcl object
fn set_object(self, _: &mut Object)
Updates the value of a Tcl object.