Trait rustc_driver::ToJson[−][src]

pub(crate) trait ToJson {
    fn to_json(&self) -> Json;
}
Expand description

A trait for converting values to JSON

Required methods

Converts the value of self to an instance of JSON

Implementors