pub trait HasMetadata {
    // Required method
    fn metadata(&self) -> Option<&Metadata>;

    // Provided method
    fn comment(&self) -> Option<&Comment> { ... }
}

Required Methods§

Provided Methods§

Implementors§

source§

impl<Id> HasMetadata for ArcType<Id>

source§

impl<Id> HasMetadata for AstType<'_, Id>