[][src]Trait moore_common::util::HasDesc

pub trait HasDesc {
    fn desc(&self) -> &'static str;

    fn desc_full(&self) -> String { ... }
}

Describes syntax nodes.

Required methods

fn desc(&self) -> &'static str

Obtain a human-readable descriptive name for this node.

Loading content...

Provided methods

fn desc_full(&self) -> String

Obtain a human-readable description for this node, possibly containing the node's name.

Loading content...

Implementors

impl<T> HasDesc for Spanned<T> where
    T: HasDesc
[src]

Loading content...