[][src]Trait gchemol_readwrite::prelude::FromFile

pub trait FromFile: Sized {
    fn from_file<P: AsRef<Path>>(path: P) -> Result<Self>;
}

Required methods

fn from_file<P: AsRef<Path>>(path: P) -> Result<Self>

Return content of text file in string.

Do not use this to read large file.

Loading content...

Implementations on Foreign Types

impl FromFile for String[src]

impl FromFile for Molecule[src]

fn from_file<P: AsRef<Path>>(path: P) -> Result<Self>[src]

Construct molecule from external text file

Loading content...

Implementors

Loading content...