Struct erg_compiler::artifact::IncompleteArtifact
source · pub struct IncompleteArtifact<Inner = HIR> {
pub object: Option<Inner>,
pub errors: CompileErrors,
pub warns: CompileErrors,
}
Fields§
§object: Option<Inner>
§errors: CompileErrors
§warns: CompileErrors
Implementations§
source§impl<Inner> IncompleteArtifact<Inner>
impl<Inner> IncompleteArtifact<Inner>
pub const fn new( object: Option<Inner>, errors: CompileErrors, warns: CompileErrors ) -> Self
Trait Implementations§
source§impl<Inner: Debug> Debug for IncompleteArtifact<Inner>
impl<Inner: Debug> Debug for IncompleteArtifact<Inner>
source§impl Display for IncompleteArtifact
impl Display for IncompleteArtifact
source§impl Error for IncompleteArtifact
impl Error for IncompleteArtifact
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<CompleteArtifact<HIR>> for IncompleteArtifact
impl From<CompleteArtifact<HIR>> for IncompleteArtifact
source§fn from(artifact: CompleteArtifact) -> Self
fn from(artifact: CompleteArtifact) -> Self
Converts to this type from the input type.
source§impl From<IncompleteArtifact<HIR>> for ErrorArtifact
impl From<IncompleteArtifact<HIR>> for ErrorArtifact
source§fn from(artifact: IncompleteArtifact) -> Self
fn from(artifact: IncompleteArtifact) -> Self
Converts to this type from the input type.