IntoJson in rustdoc::json::conversions - Rust (original) (raw)

rustdoc::json::conversions

Trait IntoJson

Source

pub(crate) trait IntoJson<T> {
    // Required method
    fn into_json(self, renderer: &JsonRenderer<'_>) -> T;
}

Required Methods§

Source

fn into_json(self, renderer: &JsonRenderer<'_>) -> T

Implementors§

Source§

impl<T, U> IntoJson for T

where U: FromClean,