devela::_dep::winnow

Module prelude

Available on crate feature dep_winnow only.
Expand description

Core concepts available for glob import

Including

§Example

use winnow::prelude::*;

fn parse_data(input: &mut &str) -> PResult<u64> {
    // ...
}

fn main() {
  let result = parse_data.parse("100");
  assert_eq!(result, Ok(100));
}

Traits§

  • Core trait for parsing
  • Marks the input as being the complete buffer or a partial buffer for streaming input

Type Aliases§