#[repr(C)]pub struct Class {
pub name: Str,
pub docs: DocBlock,
pub extends: Option<Str>,
pub implements: Vec<Str>,
pub properties: Vec<Property>,
pub methods: Vec<Method>,
pub constants: Vec<Constant>,
}
Expand description
Represents an exported class.
Fields§
§name: Str
§docs: DocBlock
§extends: Option<Str>
§implements: Vec<Str>
§properties: Vec<Property>
§methods: Vec<Method>
§constants: Vec<Constant>
Trait Implementations§
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