Trait Iri

Source
pub trait Iri:
    Debug
    + Display
    + Hash
    + Eq
    + Ord
    + Clone {
    // Required method
    fn as_str(&self) -> &str;
}

Required Methods§

Source

fn as_str(&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 Iri for NamedNode

Source§

fn as_str(&self) -> &str

Implementors§