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>,