[][src]Trait rome::graph::Triple

pub trait Triple<'g, B, I, L> where
    B: BlankNodePtr<'g>,
    I: IRIPtr<'g>,
    L: LiteralPtr<'g>, 
{ fn subject(&self) -> BlankNodeOrIRI<'g, B, I>;
fn predicate(&self) -> I;
fn object(&self) -> Resource<'g, B, I, L>; }

Triples are fundamental to RDF.

Each triple has a subject, a predicate and an object.

Required Methods

Get the subject of this triple.

Get the predicate of this triple.

Get the object of this triple.

Implementors