Trait rdf_types::IntoTerm

source ·
pub trait IntoTerm {
    type Id;
    type Literal;

    // Required method
    fn into_term(self) -> Term<Self::Id, Self::Literal>;
}
Expand description

Type that can be turned into a Term.

Required Associated Types§

source

type Id

Node identifier type.

source

type Literal

Literal type.

Required Methods§

source

fn into_term(self) -> Term<Self::Id, Self::Literal>

Turns the value into a Term.

Implementors§

source§

impl<I, L> IntoTerm for Term<I, L>

§

type Id = I

§

type Literal = L