pub struct AstResponse {
pub id: String,
pub root: Option<AstNode>,
}
Expand description
The response of an AST
request.
Fields§
§id: String
The id associated to a request for an AST
root: Option<AstNode>
The root node of an AST
If None
, an error has occurred
Trait Implementations§
Source§impl Debug for AstResponse
impl Debug for AstResponse
Auto Trait Implementations§
impl Freeze for AstResponse
impl RefUnwindSafe for AstResponse
impl Send for AstResponse
impl Sync for AstResponse
impl Unpin for AstResponse
impl UnwindSafe for AstResponse
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