pub enum NamedNodePattern {
NamedNode(NamedNode),
Variable(Variable),
}
Variants§
Trait Implementations§
Source§impl Clone for NamedNodePattern
impl Clone for NamedNodePattern
Source§fn clone(&self) -> NamedNodePattern
fn clone(&self) -> NamedNodePattern
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 NamedNodePattern
impl Debug for NamedNodePattern
Source§impl Display for NamedNodePattern
impl Display for NamedNodePattern
Source§impl From<NamedNode> for NamedNodePattern
impl From<NamedNode> for NamedNodePattern
Source§fn from(node: NamedNode) -> NamedNodePattern
fn from(node: NamedNode) -> NamedNodePattern
Converts to this type from the input type.
Source§impl From<NamedNodePattern> for TermPattern
impl From<NamedNodePattern> for TermPattern
Source§fn from(element: NamedNodePattern) -> TermPattern
fn from(element: NamedNodePattern) -> TermPattern
Converts to this type from the input type.
Source§impl From<Variable> for NamedNodePattern
impl From<Variable> for NamedNodePattern
Source§fn from(var: Variable) -> NamedNodePattern
fn from(var: Variable) -> NamedNodePattern
Converts to this type from the input type.
Source§impl Hash for NamedNodePattern
impl Hash for NamedNodePattern
Source§impl PartialEq for NamedNodePattern
impl PartialEq for NamedNodePattern
Source§impl TryFrom<NamedNodePattern> for NamedNode
impl TryFrom<NamedNodePattern> for NamedNode
impl Eq for NamedNodePattern
impl StructuralPartialEq for NamedNodePattern
Auto Trait Implementations§
impl Freeze for NamedNodePattern
impl RefUnwindSafe for NamedNodePattern
impl Send for NamedNodePattern
impl Sync for NamedNodePattern
impl Unpin for NamedNodePattern
impl UnwindSafe for NamedNodePattern
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