Struct rdf::triple::TripleStore[][src]

pub struct TripleStore { /* fields omitted */ }

Storage for triples.

Methods

impl TripleStore
[src]

Constructs a new triple store.

Returns the number of triples that are stored.

Checks if the triple store is empty.

Adds a new triple to the store.

Deletes the triple from the store.

Returns all triples where the subject node matches the provided node.

Returns all triples where the predicate node matches the provided node.

Returns all triples where the object node matches the provided node.

Returns all triples where the subject and object nodes match the provided nodes.

Returns all triples where the subject and predicate nodes match the provided nodes.

Returns all triples where the predicate and object nodes match the provided nodes.

Returns all blank nodes of the store.

Returns the stored triples as vector.

Returns an iterator over the stored triples.

Trait Implementations

impl Debug for TripleStore
[src]

Formats the value using the given formatter. Read more

impl Default for TripleStore
[src]

Returns the "default value" for a type. Read more

impl IntoIterator for TripleStore
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

Auto Trait Implementations

impl Send for TripleStore

impl Sync for TripleStore