Function parse_str
Source pub fn parse_str<T: Parse>(
dst: &mut Option<T>,
input: ParseStream<'_>,
) -> Result<()>
Expand description
- Parse a
LitStr from input.
- Parse the contents of that string into the
Parse-able.
- Assign the result to
dst in Some.