pub enum GroundTerm {
NamedNode(NamedNode),
Literal(Literal),
}
Expand description
Variants§
Trait Implementations§
Source§impl Clone for GroundTerm
impl Clone for GroundTerm
Source§fn clone(&self) -> GroundTerm
fn clone(&self) -> GroundTerm
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GroundTerm
impl Debug for GroundTerm
Source§impl Display for GroundTerm
impl Display for GroundTerm
Source§impl From<GroundTerm> for Term
impl From<GroundTerm> for Term
Source§fn from(term: GroundTerm) -> Term
fn from(term: GroundTerm) -> Term
Converts to this type from the input type.
Source§impl From<Literal> for GroundTerm
impl From<Literal> for GroundTerm
Source§fn from(literal: Literal) -> GroundTerm
fn from(literal: Literal) -> GroundTerm
Converts to this type from the input type.
Source§impl From<NamedNode> for GroundTerm
impl From<NamedNode> for GroundTerm
Source§fn from(node: NamedNode) -> GroundTerm
fn from(node: NamedNode) -> GroundTerm
Converts to this type from the input type.
Source§impl Hash for GroundTerm
impl Hash for GroundTerm
Source§impl PartialEq for GroundTerm
impl PartialEq for GroundTerm
Source§impl TryFrom<Term> for GroundTerm
impl TryFrom<Term> for GroundTerm
impl Eq for GroundTerm
impl StructuralPartialEq for GroundTerm
Auto Trait Implementations§
impl Freeze for GroundTerm
impl RefUnwindSafe for GroundTerm
impl Send for GroundTerm
impl Sync for GroundTerm
impl Unpin for GroundTerm
impl UnwindSafe for GroundTerm
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more