Trait AsId

Source
pub trait AsId: MaybeId {
    // Required method
    fn as_id(&self) -> Id<&Self::Iri, &Self::BlankId>;
}
Expand description

Type that can surely be borrowed as an Id.

Required Methods§

Source

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

Implementors§

Source§

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