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