[−][src]Function rs_graph::dimacs::graph::read_from_buf
pub fn read_from_buf<R, G>(buf: &mut R) -> Result<(G, Vec<f64>), DimacsError> where
R: BufRead,
G: Buildable,
Read DIMACS file from a buffered reader.
buf
the buffer with the file content