Trait rdf_types::AsBlankId

source ·
pub trait AsBlankId: MaybeBlankId {
    // Required method
    fn as_blank(&self) -> Option<&Self::BlankId>;

    // Provided method
    fn is_blank(&self) -> bool { ... }
}
Expand description

Types that may have a blank node identifier representation that can be borrowed.

Required Methods§

source

fn as_blank(&self) -> Option<&Self::BlankId>

Returns a reference to the blank node identifier value, if any.

Provided Methods§

source

fn is_blank(&self) -> bool

Implementors§

source§

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

source§

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