pub trait ASTKey {
// Required methods
fn eq(&self, other: &dyn ASTKey) -> bool;
fn hash(&self) -> u64;
fn as_any(&self) -> &dyn Any;
}Expand description
Type erasing keys
pub trait ASTKey {
// Required methods
fn eq(&self, other: &dyn ASTKey) -> bool;
fn hash(&self) -> u64;
fn as_any(&self) -> &dyn Any;
}Type erasing keys