rdf-model 0.3.3

RDF.rs is a Rust framework for working with RDF knowledge graphs.
// This is free and unencumbered software released into the public domain.

use crate::{Quad, QuadPattern, Triple, TriplePattern};

/// A heap-allocated triple statement.
pub type HeapTriple = Triple<HeapTerm>;

/// A heap-allocated triple statement pattern.
pub type HeapTriplePattern = TriplePattern<HeapTerm>;

/// A heap-allocated set of triple statements.
#[cfg(feature = "alloc")]
pub type HeapTripleSet = alloc::collections::BTreeSet<HeapTriple>;

/// A heap-allocated quad statement.
pub type HeapQuad = Quad<HeapTerm>;

/// A heap-allocated quad statement pattern.
pub type HeapQuadPattern = QuadPattern<HeapTerm>;

/// A heap-allocated set of quad statements.
#[cfg(feature = "alloc")]
pub type HeapQuadSet = alloc::collections::BTreeSet<HeapQuad>;

mod term;
pub use term::*;