pub struct Object {
pub obj: *mut RawObject,
}
Fields§
§obj: *mut RawObject
Implementations§
Source§impl Object
impl Object
pub fn new() -> Object
pub fn new_string(s: &str) -> Object
pub fn set_string(&self, s: &str)
Sourcepub fn get_string(&self) -> &str
pub fn get_string(&self) -> &str
Gets the string associated with the Tcl object.
Sourcepub fn get_type_name(&self) -> &str
pub fn get_type_name(&self) -> &str
Gets the Tcl ObjType Name
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Object
impl RefUnwindSafe for Object
impl !Send for Object
impl !Sync for Object
impl Unpin for Object
impl UnwindSafe for Object
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more