Trait rdf_types::AsTerm

source ·
pub trait AsTerm {
    type Iri;
    type BlankId;
    type Literal;

    // Required method
    fn as_term(&self) -> Term<&Self::Iri, &Self::BlankId, &Self::Literal>;
}

Required Associated Types§

Required Methods§

source

fn as_term(&self) -> Term<&Self::Iri, &Self::BlankId, &Self::Literal>

Implementors§

source§

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

§

type Iri = I

§

type BlankId = B

§

type Literal = Infallible

source§

impl<I, B, L> AsTerm for Term<I, B, L>

§

type Iri = I

§

type BlankId = B

§

type Literal = L