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

pub struct Registry {
    // some fields omitted
}

Methods

impl Registry
[src]

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
[src]

fn clone(&self) -> Registry

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more