Struct pretty_rdf::PBlankNode
source · pub struct PBlankNode<A: AsRef<str>> {
pub id: A,
}
Fields§
§id: A
Implementations§
Trait Implementations§
source§impl<A: Clone + AsRef<str>> Clone for PBlankNode<A>
impl<A: Clone + AsRef<str>> Clone for PBlankNode<A>
source§fn clone(&self) -> PBlankNode<A>
fn clone(&self) -> PBlankNode<A>
Returns a copy 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<'a, A: AsRef<str>> From<&'a PBlankNode<A>> for BlankNode<'a>
impl<'a, A: AsRef<str>> From<&'a PBlankNode<A>> for BlankNode<'a>
source§fn from(arbn: &'a PBlankNode<A>) -> Self
fn from(arbn: &'a PBlankNode<A>) -> Self
Converts to this type from the input type.
source§impl<A: AsRef<str>> From<PBlankNode<A>> for PSubject<A>
impl<A: AsRef<str>> From<PBlankNode<A>> for PSubject<A>
source§fn from(nn: PBlankNode<A>) -> Self
fn from(nn: PBlankNode<A>) -> Self
Converts to this type from the input type.
source§impl<A: AsRef<str>> From<PBlankNode<A>> for PTerm<A>
impl<A: AsRef<str>> From<PBlankNode<A>> for PTerm<A>
source§fn from(nn: PBlankNode<A>) -> Self
fn from(nn: PBlankNode<A>) -> Self
Converts to this type from the input type.
source§impl<A: Ord + AsRef<str>> Ord for PBlankNode<A>
impl<A: Ord + AsRef<str>> Ord for PBlankNode<A>
source§fn cmp(&self, other: &PBlankNode<A>) -> Ordering
fn cmp(&self, other: &PBlankNode<A>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<A: PartialEq + AsRef<str>> PartialEq for PBlankNode<A>
impl<A: PartialEq + AsRef<str>> PartialEq for PBlankNode<A>
source§fn eq(&self, other: &PBlankNode<A>) -> bool
fn eq(&self, other: &PBlankNode<A>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<A: PartialOrd + AsRef<str>> PartialOrd for PBlankNode<A>
impl<A: PartialOrd + AsRef<str>> PartialOrd for PBlankNode<A>
source§fn partial_cmp(&self, other: &PBlankNode<A>) -> Option<Ordering>
fn partial_cmp(&self, other: &PBlankNode<A>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<A: Eq + AsRef<str>> Eq for PBlankNode<A>
impl<A: AsRef<str>> StructuralPartialEq for PBlankNode<A>
Auto Trait Implementations§
impl<A> Freeze for PBlankNode<A>where
A: Freeze,
impl<A> RefUnwindSafe for PBlankNode<A>where
A: RefUnwindSafe,
impl<A> Send for PBlankNode<A>where
A: Send,
impl<A> Sync for PBlankNode<A>where
A: Sync,
impl<A> Unpin for PBlankNode<A>where
A: Unpin,
impl<A> UnwindSafe for PBlankNode<A>where
A: UnwindSafe,
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<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.