pub struct AstJson {
pub items: Vec<ItemJson>,
}Expand description
A serializable representation of a Rust AST for JSON output
§Fields
items: Vec- the items in the AST
Fields§
§items: Vec<ItemJson>Trait Implementations§
Auto Trait Implementations§
impl Freeze for AstJson
impl RefUnwindSafe for AstJson
impl Send for AstJson
impl Sync for AstJson
impl Unpin for AstJson
impl UnwindSafe for AstJson
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more