pub struct Class {
pub name: String,
pub items: Vec<Item>,
pub superclass: Option<Path>,
}Expand description
A class.
Fields§
§name: StringThe name of the class.
items: Vec<Item>The items contained in the class.
superclass: Option<Path>The parent class.
Implementations§
Trait Implementations§
impl Eq for Class
impl StructuralPartialEq for Class
Auto Trait Implementations§
impl Freeze for Class
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnwindSafe for Class
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