pub struct ClassObject {
pub name: String,
pub constructor: Option<Rc<Object>>,
pub methods: HashMap<String, Rc<Object>>,
}Fields§
§name: String§constructor: Option<Rc<Object>>§methods: HashMap<String, Rc<Object>>Trait Implementations§
Source§impl Clone for ClassObject
impl Clone for ClassObject
Source§fn clone(&self) -> ClassObject
fn clone(&self) -> ClassObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ClassObject
impl !Send for ClassObject
impl !Sync for ClassObject
impl !UnwindSafe for ClassObject
impl Freeze for ClassObject
impl Unpin for ClassObject
impl UnsafeUnpin for ClassObject
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