pub struct ClassDeclInfo {
pub name: String,
pub name_span: Span,
pub super_class: Option<String>,
}Expand description
Info extracted from a NodeClassDecl (name and optional super class).
Fields§
§name: String§name_span: Span§super_class: Option<String>Name of the class this extends, if any.
Auto Trait Implementations§
impl Freeze for ClassDeclInfo
impl RefUnwindSafe for ClassDeclInfo
impl Send for ClassDeclInfo
impl Sync for ClassDeclInfo
impl Unpin for ClassDeclInfo
impl UnsafeUnpin for ClassDeclInfo
impl UnwindSafe for ClassDeclInfo
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