Function gdl_parser::parse
[-] [+]
[src]
pub fn parse(gdl: &str) -> Description
Parse a GDL string to a Description
. Panics if the description is invalid.
pub fn parse(gdl: &str) -> Description
Parse a GDL string to a Description
. Panics if the description is invalid.
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
).