mod parser;
pub use parser::BifParser;
use crate::types::Result;
pub trait BifIO: Sized {
fn from_bif_string(bif: &str) -> Result<Self>;
fn to_bif_string(&self) -> Result<String>;
fn from_bif_file(path: &str) -> Result<Self>;
fn to_bif_file(&self, path: &str) -> Result<()>;
}