Struct syntax::diagnostics::registry::RegistryUnstable
[-] [+]
[src]
pub struct Registry { // some fields omitted }
pub struct Registry { // some fields omitted }
impl Registry
fn new(descriptions: &[(&'static str, &'static str)]) -> Registry
fn find_description(&self, code: &str) -> Option<&'static str>
impl Clone for Registry
fn clone(&self) -> Registry
fn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).