pub enum Declares {
Artifact {
name: ArtifactName,
light: Option<Light>,
tally: Option<Tally>,
made: Vec<Mark>,
},
Eval(Mark),
Shared {
light: Option<Light>,
tally: Option<Tally>,
evals: Vec<Mark>,
},
}Expand description
What a line declares, with the Run’s verdict on it.
Variants§
Artifact
An artf binding: its node’s light and tally; a macro call’s line also lists the evals
the call expands to, which are written in the macro.
Eval(Mark)
An eval written for one Artifact.
An eval written in a macro: one eval for each Artifact the macro made.
Trait Implementations§
impl Eq for Declares
impl StructuralPartialEq for Declares
Auto Trait Implementations§
impl Forget for Declares
impl Freeze for Declares
impl Move for Declares
impl RefUnwindSafe for Declares
impl Send for Declareswhere
RawVecInner: Send,
impl Sync for Declareswhere
RawVecInner: Sync,
impl Unpin for Declares
impl UnsafeUnpin for Declareswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Mark>: UnsafeUnpin,
impl UnwindSafe for Declareswhere
RawVecInner: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.