pub struct ExtractionResult {
pub ir: CodeIR,
pub error_count: usize,
pub is_partial: bool,
pub detected_macros: Vec<String>,
}Expand description
Result of extraction with additional metadata
Fields§
§ir: CodeIR§error_count: usizeNumber of syntax errors encountered (0 = clean parse)
is_partial: boolWhether the file was fully parsed or partially
detected_macros: Vec<String>Macros detected in the source
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExtractionResult
impl RefUnwindSafe for ExtractionResult
impl Send for ExtractionResult
impl Sync for ExtractionResult
impl Unpin for ExtractionResult
impl UnwindSafe for ExtractionResult
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more