Enum pretty_rdf::PExpandedTriple
source · pub enum PExpandedTriple<A: AsRef<str>> {
PMultiTriple(PMultiTriple<A>),
PTripleSeq(PTripleSeq<A>),
}
Expand description
Any form of triple container
Variants§
PMultiTriple(PMultiTriple<A>)
PTripleSeq(PTripleSeq<A>)
Trait Implementations§
source§impl<A: Clone + AsRef<str>> Clone for PExpandedTriple<A>
impl<A: Clone + AsRef<str>> Clone for PExpandedTriple<A>
source§fn clone(&self) -> PExpandedTriple<A>
fn clone(&self) -> PExpandedTriple<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> From<PMultiTriple<A>> for PExpandedTriple<A>
impl<A> From<PMultiTriple<A>> for PExpandedTriple<A>
source§fn from(t: PMultiTriple<A>) -> Self
fn from(t: PMultiTriple<A>) -> Self
Converts to this type from the input type.
source§impl<A> From<PTriple<A>> for PExpandedTriple<A>
impl<A> From<PTriple<A>> for PExpandedTriple<A>
source§impl<A> From<PTripleSeq<A>> for PExpandedTriple<A>
impl<A> From<PTripleSeq<A>> for PExpandedTriple<A>
source§fn from(t: PTripleSeq<A>) -> Self
fn from(t: PTripleSeq<A>) -> Self
Converts to this type from the input type.
source§impl<A: PartialEq + AsRef<str>> PartialEq for PExpandedTriple<A>
impl<A: PartialEq + AsRef<str>> PartialEq for PExpandedTriple<A>
source§fn eq(&self, other: &PExpandedTriple<A>) -> bool
fn eq(&self, other: &PExpandedTriple<A>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<A: Eq + AsRef<str>> Eq for PExpandedTriple<A>
impl<A: AsRef<str>> StructuralPartialEq for PExpandedTriple<A>
Auto Trait Implementations§
impl<A> Freeze for PExpandedTriple<A>
impl<A> !RefUnwindSafe for PExpandedTriple<A>
impl<A> Send for PExpandedTriple<A>where
A: Send,
impl<A> !Sync for PExpandedTriple<A>
impl<A> Unpin for PExpandedTriple<A>where
A: Unpin,
impl<A> UnwindSafe for PExpandedTriple<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.