Struct erg_compiler::artifact::CompleteArtifact
source · pub struct CompleteArtifact<Inner = HIR> {
pub object: Inner,
pub warns: CompileErrors,
}
Fields§
§object: Inner
§warns: CompileErrors
Implementations§
source§impl<Inner> CompleteArtifact<Inner>
impl<Inner> CompleteArtifact<Inner>
pub const fn new(object: Inner, warns: CompileErrors) -> Self
Trait Implementations§
source§impl<Inner: Debug> Debug for CompleteArtifact<Inner>
impl<Inner: Debug> Debug for CompleteArtifact<Inner>
source§impl From<CompleteArtifact> for IncompleteArtifact
impl From<CompleteArtifact> for IncompleteArtifact
source§fn from(artifact: CompleteArtifact) -> Self
fn from(artifact: CompleteArtifact) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<Inner> RefUnwindSafe for CompleteArtifact<Inner>where
Inner: RefUnwindSafe,
impl<Inner> Send for CompleteArtifact<Inner>where
Inner: Send,
impl<Inner> Sync for CompleteArtifact<Inner>where
Inner: Sync,
impl<Inner> Unpin for CompleteArtifact<Inner>where
Inner: Unpin,
impl<Inner> UnwindSafe for CompleteArtifact<Inner>where
Inner: 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