pub struct Instance {
pub name: String,
pub class: Ustr,
pub properties: UstrMap<Variant>,
/* private fields */
}
Expand description
Fields§
§name: String
The instance’s name, corresponding to the Name
property.
class: Ustr
The instance’s class, corresponding to the ClassName
property.
properties: UstrMap<Variant>
Any properties stored on the object that are not Name
or ClassName
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Instance
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
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