Enum rdf_types::SubjectRef
source · [−]Expand description
gRDF subject or graph label reference.
Either a blank node identifier or an IRI.
Variants
Blank(&'a BlankId)
Blank node identifier.
Iri(Iri<'a>)
IRI.
Implementations
sourceimpl<'a> SubjectRef<'a>
impl<'a> SubjectRef<'a>
Trait Implementations
sourceimpl<'a> Clone for SubjectRef<'a>
impl<'a> Clone for SubjectRef<'a>
sourcefn clone(&self) -> SubjectRef<'a>
fn clone(&self) -> SubjectRef<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> Debug for SubjectRef<'a>
impl<'a> Debug for SubjectRef<'a>
sourceimpl<'a> Display for SubjectRef<'a>
impl<'a> Display for SubjectRef<'a>
sourceimpl<'a> From<&'a Subject> for SubjectRef<'a>
impl<'a> From<&'a Subject> for SubjectRef<'a>
sourceimpl<'a> Hash for SubjectRef<'a>
impl<'a> Hash for SubjectRef<'a>
sourceimpl<'a> Ord for SubjectRef<'a>
impl<'a> Ord for SubjectRef<'a>
sourceimpl<'a> PartialEq<SubjectRef<'a>> for SubjectRef<'a>
impl<'a> PartialEq<SubjectRef<'a>> for SubjectRef<'a>
sourcefn eq(&self, other: &SubjectRef<'a>) -> bool
fn eq(&self, other: &SubjectRef<'a>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SubjectRef<'a>) -> bool
fn ne(&self, other: &SubjectRef<'a>) -> bool
This method tests for !=.
sourceimpl<'a> PartialOrd<SubjectRef<'a>> for SubjectRef<'a>
impl<'a> PartialOrd<SubjectRef<'a>> for SubjectRef<'a>
sourcefn partial_cmp(&self, other: &SubjectRef<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &SubjectRef<'a>) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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 more
impl<'a> Eq for SubjectRef<'a>
impl<'a> StructuralEq for SubjectRef<'a>
impl<'a> StructuralPartialEq for SubjectRef<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SubjectRef<'a>
impl<'a> Send for SubjectRef<'a>
impl<'a> Sync for SubjectRef<'a>
impl<'a> Unpin for SubjectRef<'a>
impl<'a> UnwindSafe for SubjectRef<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more