pub struct CodeAst {
pub language: String,
pub functions: Vec<String>,
pub structs: Vec<String>,
pub traits: Vec<String>,
pub enums: Vec<String>,
pub classes: Vec<String>,
pub interfaces: Vec<String>,
pub imports: Vec<String>,
}Expand description
Abstract Syntax Tree representation
Fields§
§language: String§functions: Vec<String>§structs: Vec<String>§traits: Vec<String>§enums: Vec<String>§classes: Vec<String>§interfaces: Vec<String>§imports: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for CodeAst
impl RefUnwindSafe for CodeAst
impl Send for CodeAst
impl Sync for CodeAst
impl Unpin for CodeAst
impl UnwindSafe for CodeAst
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