fastobo-graphs 0.2.0

OBO Graphs data model, decoder and encoder in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
mod doc;
mod entity;
mod header;
mod syn;
mod xref;

use crate::error::Result;

/// Trait to convert an OBO graph element into an OBO syntax node.
#[cfg_attr(feature = "_doc", doc(cfg(feature = "obo")))]
pub trait FromGraph<T>: Sized {
    fn from_graph(source: T) -> Result<Self>;
}