Struct moore_svlog_syntax::ast::ClassDeclData [−][src]
pub struct ClassDeclData<'a> {
pub virt: bool,
pub lifetime: Lifetime,
pub name: Spanned<Name>,
pub params: Vec<ParamDecl<'a>>,
pub extends: Option<(Type<'a>, Vec<CallArg<'a>>)>,
pub impls: Vec<Spanned<Name>>,
pub items: Vec<ClassItem<'a>>,
}Expand description
A class declaration.
Fields
virt: boollifetime: Lifetimename: Spanned<Name>params: Vec<ParamDecl<'a>>extends: Option<(Type<'a>, Vec<CallArg<'a>>)>impls: Vec<Spanned<Name>>items: Vec<ClassItem<'a>>Trait Implementations
Get this node’s name, or None if it does not have one.
Describe this node for diagnostics in indefinite form, e.g. “entity”. Read more
Describe this node for diagnostics in definite form, e.g. “entity ‘top’”. Read more
Describe this node for diagnostics in indefinite form, e.g. “entity”.
Describe this node for diagnostics in definite form, e.g. “entity ‘top’”. Read more
Describe this node for diagnostics in indefinite form, e.g. “entity”.
Describe this node for diagnostics in definite form, e.g. “entity ‘top’”. Read more
Apply a function to each child node.
Apply a function to this node.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ClassDeclData<'a>
impl<'a> Send for ClassDeclData<'a>
impl<'a> Sync for ClassDeclData<'a>
impl<'a> Unpin for ClassDeclData<'a>
impl<'a> !UnwindSafe for ClassDeclData<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more