pub struct ClassInfo {
pub name: String,
pub parent: Option<String>,
pub methods: Vec<String>,
}Expand description
One class already defined in a REPL session: its name, the parent it inherits from (if any), and its method names.
Fields§
§name: String§parent: Option<String>§methods: Vec<String>Auto Trait Implementations§
impl Freeze for ClassInfo
impl RefUnwindSafe for ClassInfo
impl Send for ClassInfo
impl Sync for ClassInfo
impl Unpin for ClassInfo
impl UnsafeUnpin for ClassInfo
impl UnwindSafe for ClassInfo
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