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<U> for T
where U: FromClean<T>,