pub trait Node: Debug + Display + Clone + PartialEq + Eq + Serialize + DeserializeOwned {
// Required methods
fn span(&self) -> Span;
fn set_span(&mut self, span: Span);
fn id(&self) -> NodeID;
fn set_id(&mut self, id: NodeID);
}
Expand description
A node in the AST.
Required Methods§
Object Safety§
This trait is not object safe.