Struct erg_parser::error::IncompleteArtifact
source · pub struct IncompleteArtifact<A = Module, Es = ParseErrors> {
pub ast: Option<A>,
pub warns: Es,
pub errors: Es,
}
Fields§
§ast: Option<A>
§warns: Es
§errors: Es
Implementations§
source§impl<A, Es> IncompleteArtifact<A, Es>
impl<A, Es> IncompleteArtifact<A, Es>
Trait Implementations§
source§impl<A> From<LexErrors> for IncompleteArtifact<A, ParseErrors>
impl<A> From<LexErrors> for IncompleteArtifact<A, ParseErrors>
source§fn from(value: LexErrors) -> IncompleteArtifact<A, ParseErrors>
fn from(value: LexErrors) -> IncompleteArtifact<A, ParseErrors>
Converts to this type from the input type.
source§impl<A> From<ParserRunnerErrors> for IncompleteArtifact<A, ParserRunnerErrors>
impl<A> From<ParserRunnerErrors> for IncompleteArtifact<A, ParserRunnerErrors>
source§fn from(value: ParserRunnerErrors) -> IncompleteArtifact<A, ParserRunnerErrors>
fn from(value: ParserRunnerErrors) -> IncompleteArtifact<A, ParserRunnerErrors>
Converts to this type from the input type.
Auto Trait Implementations§
impl<A, Es> RefUnwindSafe for IncompleteArtifact<A, Es>where A: RefUnwindSafe, Es: RefUnwindSafe,
impl<A, Es> Send for IncompleteArtifact<A, Es>where A: Send, Es: Send,
impl<A, Es> Sync for IncompleteArtifact<A, Es>where A: Sync, Es: Sync,
impl<A, Es> Unpin for IncompleteArtifact<A, Es>where A: Unpin, Es: Unpin,
impl<A, Es> UnwindSafe for IncompleteArtifact<A, Es>where A: UnwindSafe, Es: UnwindSafe,
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