pub struct Instance { /* private fields */ }
Expand description
Represents an instance of a class.
§Fields
Fields are variables that are defined inside a class. They can be accessed by using the .
operator
after the instance name. Fields can be defined by using the =
operator after the field name.
§Methods
Methods are functions that are defined inside a class. They can be called on instances of the
class. Methods can be called by using the ()
operator after the method name.
Implementations§
Source§impl Instance
impl Instance
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