Struct phile::ast::ClassDecl
[−]
[src]
pub struct ClassDecl<'a> {
pub range: Range,
pub name: &'a str,
pub fields: Vec<Field<'a>>,
}Definition of a class type.
Fields
range: Range
The source range of the type definition.
name: &'a str
The name of the class type.
fields: Vec<Field<'a>>
The fields of the class type.
Trait Implementations
impl<'a> Debug for ClassDecl<'a>[src]
impl<'a> PartialEq for ClassDecl<'a>[src]
fn eq(&self, __arg_0: &ClassDecl<'a>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ClassDecl<'a>) -> bool
This method tests for !=.
impl<'a> Eq for ClassDecl<'a>[src]
impl<'a> Hash for ClassDecl<'a>[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more