Trait FromBlankId

Source
pub trait FromBlankId: MaybeBlankId {
    // Required method
    fn from_blank(b: Self::BlankId) -> Self;
}
Expand description

Types that can be constructed from a blank node identifier.

Required Methods§

Source

fn from_blank(b: Self::BlankId) -> Self

Builds a value from a blank node identifier.

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.

Implementors§

Source§

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

Source§

impl<I: FromBlankId, L> FromBlankId for Term<I, L>