Trait rdf_types::AsId

source ·
pub trait AsId {
    type Iri;
    type BlankId;

    // Required method
    fn as_id(&self) -> Id<&Self::Iri, &Self::BlankId>;
}
Expand description

Type that can be converted into an Id.

Required Associated Types§

Required Methods§

source

fn as_id(&self) -> Id<&Self::Iri, &Self::BlankId>

Implementors§

source§

impl<I, B> AsId for Id<I, B>

§

type Iri = I

§

type BlankId = B