[][src]Trait gchemol_readwrite::prelude::ToFile

pub trait ToFile {
    fn to_file<P: AsRef<Path>>(&self, path: P) -> Result<()>;
}

Required methods

fn to_file<P: AsRef<Path>>(&self, path: P) -> Result<()>

Write string content to an external file.

Note: Replaces the current file content if the file already exists.

Loading content...

Implementations on Foreign Types

impl ToFile for str[src]

impl ToFile for Molecule[src]

fn to_file<T: AsRef<Path>>(&self, path: T) -> Result<()>[src]

Save molecule to an external file

Loading content...

Implementors

Loading content...