Struct syntex_syntax::diagnostics::registry::Registry [] [src]

pub struct Registry {
    // some fields omitted
}

Methods

impl Registry

fn new(descriptions: &[(&'static str, &'static str)]) -> Registry

fn find_description(&self, code: &str) -> Option<&'static str>

Trait Implementations

Derived Implementations

impl Clone for Registry

fn clone(&self) -> Registry

fn clone_from(&mut self, source: &Self)