Skip to main content

Expandable

Trait Expandable 

Source
pub trait Expandable {
    // Required method
    fn expand<V>(&self) -> V
       where V: JsonValue;
}
Available on crate feature expandable only.
Expand description

Convert &self into the expanded JSON-LD form for the chosen backend V.

Generated by the Expandable derive in jsonld-expandable.

Required Methods§

Source

fn expand<V>(&self) -> V
where V: JsonValue,

Render self as expanded JSON-LD using backend V.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§