Skip to main content

parse_from_modifier_value

Function parse_from_modifier_value 

Source
fn parse_from_modifier_value<T>(
    value_span: impl FnOnce() -> Span,
    value: &str,
) -> Result<T, Error>
where T: FromStr,
Available on crate feature alloc and (crate features formatting or parsing) only.
Expand description

Parse a modifier value using FromStr. Requires the modifier value to be valid UTF-8.