Struct rdftk_core::simple::indexed::IndexedSimpleGraph[][src]

pub struct IndexedSimpleGraph { /* fields omitted */ }
Expand description

Simple, in-memory implementation of the Graph trait.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Return true if this instance, or factory, supports the feature identified by the IRI. Read more

Returns true if there are no statements in this graph, else false. Read more

Return the number of statements in this graph. Read more

Returns true if this graph contains any statement with the provided subject, else false. Read more

Returns true if this graph contains any statement with the provided IRI as subject, else false. Read more

Returns true if this graph contains the any statement with the provided subject, predicate, and object, else false. Read more

Return an iterator over all the statements in the graph. Read more

Return a set of all subjects in the graph, note that this is a set so that it removes duplicates. Read more

Return a set of all predicate in the graph, note that this is a set so that it removes duplicates. Read more

Return a set of all predicate referenced by the provided subject in graph, note that this is a set so that it removes duplicates. Read more

Return a set of all objects in the graph, note that this is a set so that it removes duplicates. Read more

Return a set of all objects referenced by the provided subject and predicate in the graph, note that this is a set so that it removes duplicates. Read more

Returns the set of prefix mappings held by the graph. Read more

Set the prefix mappings held by the graph. Read more

Return the factory that creates graphs using the same provider as self. Read more

Return the factory that creates statements using the same provider as self. Read more

Return the factory that creates literals using the same provider as self. Read more

Return an iterator over all the statements in the graph. Read more

Insert a new statement into the graph. Read more

Merge another graph into this one. Note that the graphs are required to have the same implementation type based in the type qualifiers for StatementIter. Read more

Remove any duplicates within the graph, replacing any number of identical statements with just one. This will return a list of all statements removed. Read more

Remove any statement that matches the provided. If a graph has duplicates this method does not differentiate between them. Read more

Remove all statements from this graph that have the provided subject. Read more

Remove all statements from this graph. Read more

Returns true if this graph contains the provided statement, else false. Read more

Returns true if this graph contains the any statement with the provided subject, predicate, and object, else false. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.