pub trait HasVisibility: AstNode { // Provided method fn visibility(&self) -> Option<Visibility> { ... } }