Struct rdf_types::vocabulary::IriIndex
source · pub struct IriIndex(/* private fields */);
Expand description
Iri index.
Trait Implementations§
source§impl IndexedIri for IriIndex
impl IndexedIri for IriIndex
fn index(&self) -> IriOrIndex<&Iri>
source§impl IriInterpretation<IriIndex> for Indexed
impl IriInterpretation<IriIndex> for Indexed
source§fn iri_interpretation(&self, iri: &IriIndex) -> Option<Self::Resource>
fn iri_interpretation(&self, iri: &IriIndex) -> Option<Self::Resource>
Returns the interpretation of the given IRI, if any.
fn lexical_iri_interpretation(
&self,
vocabulary: &impl IriVocabulary<Iri = I>,
iri: &Iri
) -> Option<Self::Resource>where
I: Sized,
source§impl IriInterpretationMut<IriIndex> for Indexed
impl IriInterpretationMut<IriIndex> for Indexed
source§fn interpret_iri(&mut self, iri: IriIndex) -> Self::Resource
fn interpret_iri(&mut self, iri: IriIndex) -> Self::Resource
Interprets the given IRI.
fn interpret_lexical_iri( &mut self, vocabulary: &mut impl IriVocabularyMut<Iri = I>, iri: &Iri ) -> Self::Resource
fn interpret_owned_lexical_iri( &mut self, vocabulary: &mut impl IriVocabularyMut<Iri = I>, iri: IriBuf ) -> Self::Resource
source§impl Ord for IriIndex
impl Ord for IriIndex
source§impl PartialEq for IriIndex
impl PartialEq for IriIndex
source§impl PartialOrd for IriIndex
impl PartialOrd for IriIndex
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 Copy for IriIndex
impl Eq for IriIndex
impl StructuralPartialEq for IriIndex
Auto Trait Implementations§
impl Freeze for IriIndex
impl RefUnwindSafe for IriIndex
impl Send for IriIndex
impl Sync for IriIndex
impl Unpin for IriIndex
impl UnwindSafe for IriIndex
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.