Crate strp_macros
source ·Expand description
Macro crate for strp crate.
Macros
Interally uses
try_parse
and unwraps the result to parse a single value
from a source string.Interally uses
try_scan
and unwraps the result to parse multiple values
from a source string.Attempts to parse a single variable from an iterator on a type that implements
the
TryParse
trait.Very similar to
try_parse
, except it allows for 2 or more matched values.