Trait BlankNode

Source
pub trait BlankNode:
    Debug
    + Display
    + PartialEq {
    // Required methods
    fn new(id: impl Into<String>) -> Self;
    fn id(&self) -> &str;
}

Required Methods§

Source

fn new(id: impl Into<String>) -> Self

Source

fn id(&self) -> &str

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.

Implementations on Foreign Types§

Source§

impl BlankNode for BlankNode

Source§

fn new(id: impl Into<String>) -> Self

Source§

fn id(&self) -> &str

Implementors§