Trait ReverseIriInterpretation

Source
pub trait ReverseIriInterpretation: Interpretation {
    type Iri;
    type Iris<'a>: Clone + Iterator<Item = &'a Self::Iri>
       where Self: 'a;

    // Required method
    fn iris_of<'a>(&'a self, id: &'a Self::Resource) -> Self::Iris<'a>;
}

Required Associated Types§

Source

type Iri

Source

type Iris<'a>: Clone + Iterator<Item = &'a Self::Iri> where Self: 'a

Required Methods§

Source

fn iris_of<'a>(&'a self, id: &'a Self::Resource) -> Self::Iris<'a>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ReverseIriInterpretation for ()

Source§

type Iri = IriBuf

Source§

type Iris<'a> = IntoIter<&'a IriBuf>

Source§

fn iris_of<'a>(&'a self, id: &'a Self::Resource) -> Self::Iris<'a>

Source§

impl<T: ReverseIriInterpretation> ReverseIriInterpretation for &T

Source§

type Iri = <T as ReverseIriInterpretation>::Iri

Source§

type Iris<'a> = <T as ReverseIriInterpretation>::Iris<'a> where Self: 'a

Source§

fn iris_of<'a>(&'a self, id: &'a Self::Resource) -> Self::Iris<'a>

Source§

impl<T: ReverseIriInterpretation> ReverseIriInterpretation for &mut T

Source§

type Iri = <T as ReverseIriInterpretation>::Iri

Source§

type Iris<'a> = <T as ReverseIriInterpretation>::Iris<'a> where Self: 'a

Source§

fn iris_of<'a>(&'a self, id: &'a Self::Resource) -> Self::Iris<'a>

Implementors§