pub enum ParseResult {
Program(Box<ProgramArchive>, ReportCollection),
Library(Box<TemplateLibrary>, ReportCollection),
}Expand description
A result from the Circom parser.
Variants§
Program(Box<ProgramArchive>, ReportCollection)
The program was successfully parsed without issues.
Library(Box<TemplateLibrary>, ReportCollection)
The parser failed to parse a complete program.
Auto Trait Implementations§
impl Freeze for ParseResult
impl RefUnwindSafe for ParseResult
impl Send for ParseResult
impl Sync for ParseResult
impl Unpin for ParseResult
impl UnwindSafe for ParseResult
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