Skip to main content

parse_str

Function parse_str 

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