Struct solang_parser::pt::TypeDefinition
source · pub struct TypeDefinition {
pub loc: Loc,
pub name: Identifier,
pub ty: Expression,
}
Fields§
§loc: Loc
§name: Identifier
§ty: Expression
Trait Implementations§
source§impl Clone for TypeDefinition
impl Clone for TypeDefinition
source§fn clone(&self) -> TypeDefinition
fn clone(&self) -> TypeDefinition
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 TypeDefinition
impl Debug for TypeDefinition
source§impl PartialEq<TypeDefinition> for TypeDefinition
impl PartialEq<TypeDefinition> for TypeDefinition
source§fn eq(&self, other: &TypeDefinition) -> bool
fn eq(&self, other: &TypeDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.