value

Function value 

Source
fn value<T>(input: &mut &str) -> ModalResult<T>
where T: FromStr + Display, T::Err: Display,
Expand description

Parses a single value from the input.

Consumes text until the end of the current line.

ยงErrors

Returns an error if the next token cannot be parsed into T.