pub(crate) trait ParamLike {
// Required methods
fn ty(&self) -> &Expression;
fn name(&self) -> Option<&str>;
// Provided method
fn type_name(&self) -> String { ... }
}
Expand description
Helper trait to abstract over a solang type that can be documented as parameter