[][src]Trait rome::graph::DatatypePtr

pub trait DatatypePtr<'g> {
    fn as_str(&self) -> &str;
}

A trait for a pointers to datatypes of literals in graphs.

Like literals, DatatypePtrs are tied to the graph to which they belong. A datatype is an IRI, but a graph may use different pointers for datatypes and IRIs.

Required Methods

Get the datatype as a string.

Implementations on Foreign Types

impl<'g> DatatypePtr<'g> for &'g str
[src]

Implementors