pub struct Class {
pub external: SymId,
pub parent: SymId,
pub factory: Option<ClassPart>,
pub object: Option<ClassPart>,
pub methods: Vec<Method>,
}Expand description
Names are the defining program’s symbols. parent is the external name of the class it
inherits.
Fields§
§external: SymId§parent: SymId§factory: Option<ClassPart>§object: Option<ClassPart>§methods: Vec<Method>Trait Implementations§
Source§impl Decode for Class
A method or part is a program and never a class, so a class inside one is refused before it is
read, which keeps decoding from nesting deeper than one class.
impl Decode for Class
A method or part is a program and never a class, so a class inside one is refused before it is read, which keeps decoding from nesting deeper than one class.
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 UnsafeUnpin 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