pub struct ClassDeclaration {
pub nodes: (Option<Virtual>, Keyword, Option<Lifetime>, ClassIdentifier, Option<ParameterPortList>, Option<(Keyword, ClassType, Option<Paren<ListOfArguments>>)>, Option<(Keyword, List<Symbol, InterfaceClassType>)>, Symbol, Vec<ClassItem>, Keyword, Option<(Symbol, ClassIdentifier)>),
}
Fields§
§nodes: (Option<Virtual>, Keyword, Option<Lifetime>, ClassIdentifier, Option<ParameterPortList>, Option<(Keyword, ClassType, Option<Paren<ListOfArguments>>)>, Option<(Keyword, List<Symbol, InterfaceClassType>)>, Symbol, Vec<ClassItem>, Keyword, Option<(Symbol, ClassIdentifier)>)
Trait Implementations§
source§impl Clone for ClassDeclaration
impl Clone for ClassDeclaration
source§fn clone(&self) -> ClassDeclaration
fn clone(&self) -> ClassDeclaration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClassDeclaration
impl Debug for ClassDeclaration
source§impl<'a> From<&'a ClassDeclaration> for RefNode<'a>
impl<'a> From<&'a ClassDeclaration> for RefNode<'a>
source§fn from(x: &'a ClassDeclaration) -> Self
fn from(x: &'a ClassDeclaration) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a ClassDeclaration> for RefNodes<'a>
impl<'a> From<&'a ClassDeclaration> for RefNodes<'a>
source§fn from(x: &'a ClassDeclaration) -> Self
fn from(x: &'a ClassDeclaration) -> Self
Converts to this type from the input type.
source§impl From<ClassDeclaration> for AnyNode
impl From<ClassDeclaration> for AnyNode
source§fn from(x: ClassDeclaration) -> Self
fn from(x: ClassDeclaration) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ClassDeclaration
impl<'a> IntoIterator for &'a ClassDeclaration
source§impl PartialEq<ClassDeclaration> for ClassDeclaration
impl PartialEq<ClassDeclaration> for ClassDeclaration
source§fn eq(&self, other: &ClassDeclaration) -> bool
fn eq(&self, other: &ClassDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.