Trait sophia_api::quad::Quad [−][src]
pub trait Quad {
type Term: TTerm + ?Sized;
fn s(&self) -> &Self::Term;
fn p(&self) -> &Self::Term;
fn o(&self) -> &Self::Term;
fn g(&self) -> Option<&Self::Term>;
fn wrap_as_triple(self) -> QuadAsTriple<Self>
where
Self: Sized,
{ ... }
fn as_triple(self) -> QuadAsTriple<Self>
where
Self: Sized,
{ ... }
fn components(&self) -> QuadIter<'_, Self>ⓘ { ... }
}
Expand description
This trait represents an abstract RDF quad, and provides convenient methods for working with quads.
Associated Types
Required methods
Provided methods
fn wrap_as_triple(self) -> QuadAsTriple<Self> where
Self: Sized,
fn wrap_as_triple(self) -> QuadAsTriple<Self> where
Self: Sized,
Triple
adapter owning this quad.
fn as_triple(self) -> QuadAsTriple<Self> where
Self: Sized,
fn as_triple(self) -> QuadAsTriple<Self> where
Self: Sized,
👎 Deprecated since 0.6.3:
Has been renamed to wrap_as_triple