Crate gchemol_parser
source ·Expand description
Text Reader for large text file.
§Example
use gchemol_parser::TextReader;
let mut reader = TextReader::try_from_path("./tests/files/ch3f.mol2".as_ref()).unwrap();
// read a line into `s`
let mut s = String::new();
reader.read_line(&mut s).unwrap();
// seek a specific line
let _ = reader.seek_line(|line| line.starts_with("@<TRIPOS>")).unwrap();
Modules§
- Selected and extra winnow parser combinators
Structs§
- Quick grep text by marking the line that matching a pattern, suitable for very large text file.
- A stream reader for large text file
- A simple line-based text viewer for quick peeking part of text