Skip to main content

parse

Macro parse 

Source
macro_rules! parse {
    ($s:literal => $ty:ty) => { ... };
    ($s:literal) => { ... };
    ($ts:expr => $ty:ty) => { ... };
    ($ts:expr) => { ... };
}
Expand description

Parses tokens or string literals into a type. Wraps syn::parse_str and syn::parse2.