pub struct CompiledArtifact {
pub source_hash: u64,
pub formula: Noun,
pub via_trident: bool,
}Expand description
A compiled artifact — the result of optimizing a Nox formula. In M6, this is the same Noun (no actual optimization yet). In future milestones: TIR-optimized .nox bytecode.
Fields§
§source_hash: u64The source formula hash (placeholder — hemera hash in M2+)
formula: NounThe compiled formula (M6: same as source; future: optimized)
via_trident: boolWhether this artifact was produced by the trident compile path
Trait Implementations§
Source§impl Clone for CompiledArtifact
impl Clone for CompiledArtifact
Source§fn clone(&self) -> CompiledArtifact
fn clone(&self) -> CompiledArtifact
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CompiledArtifact
impl RefUnwindSafe for CompiledArtifact
impl Send for CompiledArtifact
impl Sync for CompiledArtifact
impl Unpin for CompiledArtifact
impl UnsafeUnpin for CompiledArtifact
impl UnwindSafe for CompiledArtifact
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