pub fn from_reader(mut f: impl Read) -> FailResult<Self> {
        let out = load_txt(&mut std::io::BufReader::new(&mut f))?;
        f.read_to_end(&mut vec![])?;
        Ok(out)
    }
// FIXME This probably shouldn't exist.
/// Reads a POSCAR from an open file.
///
/// This forcibly reads to EOF because it must construct a BufReader.


This forcibly reads to EOF because it must construct a BufReader.
This forcibly reads to EOF because it must construct a BufReader .
pub fn from_reader(mut f: impl Read) -> FailResult<Self> {
        let out = load_txt(&mut std::io::BufReader::new(&mut f))?;
        f.read_to_end(&mut vec![])?;
        Ok(out)
    }
pub fn from_reader ( mut f : impl Read ) -> FailResult < Self > { let out = load_txt ( & mut std :: io :: BufReader :: new ( & mut f ) ) ? ; f . read_to_end ( & mut vec ! [ ] ) ? ; Ok ( out ) }
FIXME This probably shouldn't exist.
FIXME This probably shouldn ' t exist .
f
impl Read
f
impl Read