Struct moore_svlog_syntax::ast::ClassDecl
[−]
[src]
pub struct ClassDecl { pub span: Span, pub virt: bool, pub lifetime: Lifetime, pub name: Identifier, pub params: Vec<ParamDecl>, pub extends: Option<(Type, Vec<CallArg>)>, pub items: Vec<ClassItem>, }
Fields
span: Span
virt: bool
lifetime: Lifetime
name: Identifier
params: Vec<ParamDecl>
extends: Option<(Type, Vec<CallArg>)>
items: Vec<ClassItem>
Trait Implementations
impl Debug for ClassDecl
[src]
impl Clone for ClassDecl
[src]
fn clone(&self) -> ClassDecl
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ClassDecl
[src]
fn eq(&self, __arg_0: &ClassDecl) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ClassDecl) -> bool
[src]
This method tests for !=
.
impl Eq for ClassDecl
[src]
impl Encodable for ClassDecl
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
[src]
Serialize a value using an Encoder
.