pub struct AstSummary {
pub function_count: usize,
pub class_count: usize,
pub import_count: usize,
pub exports: Vec<String>,
pub functions: Vec<FunctionSignature>,
}Expand description
Summary of AST analysis
Fields§
§function_count: usizeNumber of functions/methods
class_count: usizeNumber of classes
import_count: usizeNumber of imports
exports: Vec<String>Exported symbols
functions: Vec<FunctionSignature>Function signatures
Trait Implementations§
Source§impl Clone for AstSummary
impl Clone for AstSummary
Source§fn clone(&self) -> AstSummary
fn clone(&self) -> AstSummary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AstSummary
impl Debug for AstSummary
Source§impl<'de> Deserialize<'de> for AstSummary
impl<'de> Deserialize<'de> for AstSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AstSummary
impl RefUnwindSafe for AstSummary
impl Send for AstSummary
impl Sync for AstSummary
impl Unpin for AstSummary
impl UnwindSafe for AstSummary
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