pub enum N3Term {
NamedNode(NamedNode),
BlankNode(BlankNode),
Literal(Literal),
Triple(Box<Triple>),
Variable(Variable),
}
Expand description
A N3 term i.e. a RDF Term
or a Variable
.
Variants§
Trait Implementations§
Source§impl From<NamedNodeRef<'_>> for N3Term
impl From<NamedNodeRef<'_>> for N3Term
Source§fn from(node: NamedNodeRef<'_>) -> Self
fn from(node: NamedNodeRef<'_>) -> Self
Converts to this type from the input type.
Source§impl From<NamedOrBlankNode> for N3Term
impl From<NamedOrBlankNode> for N3Term
Source§fn from(node: NamedOrBlankNode) -> Self
fn from(node: NamedOrBlankNode) -> Self
Converts to this type from the input type.
impl Eq for N3Term
impl StructuralPartialEq for N3Term
Auto Trait Implementations§
impl Freeze for N3Term
impl RefUnwindSafe for N3Term
impl Send for N3Term
impl Sync for N3Term
impl Unpin for N3Term
impl UnwindSafe for N3Term
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more