[][src]Struct rdftk_memgraph::MemGraph

pub struct MemGraph { /* fields omitted */ }

A very simple in-memory implementation of the Graph and NamedGraph traits.

Implementations

impl MemGraph[src]

pub fn named(&mut self, name: IRIRef) -> &mut Self[src]

pub fn with(&mut self, statements: Vec<Rc<Statement>>) -> &mut Self[src]

pub fn mappings(&mut self, mappings: Rc<dyn PrefixMappings>) -> &mut Self[src]

Trait Implementations

impl Clone for MemGraph[src]

impl Debug for MemGraph[src]

impl Default for MemGraph[src]

impl From<Vec<Rc<Statement>>> for MemGraph[src]

impl From<Vec<Statement>> for MemGraph[src]

impl Graph for MemGraph[src]

impl NamedGraph for MemGraph[src]

Auto Trait Implementations

impl !RefUnwindSafe for MemGraph

impl !Send for MemGraph

impl !Sync for MemGraph

impl Unpin for MemGraph

impl !UnwindSafe for MemGraph

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,