Skip to main content

BlankNodeRef

Trait BlankNodeRef 

Source
pub trait BlankNodeRef<'a> {
    // Required method
    fn label(&self) -> &'a str;
}
Expand description

A trait for borrowed references to blank node labels.

This trait is useful for working with blank node identifiers without taking ownership, allowing zero-copy operations when processing RDF data.

Required Methods§

Source

fn label(&self) -> &'a str

Returns a reference to the blank node’s label.

Implementors§