[][src]Struct egg::RunReport

#[non_exhaustive]
pub struct RunReport<L, E> {
    pub initial_expr: RecExpr<L>,
    pub initial_expr_eclass: Id,
    pub iterations: Vec<Iteration>,
    pub rules_time: f64,
    pub stop_reason: E,
}

Data generated by running a Runner to completion.

If the serde-1 feature is enabled, this implements serde::Serialize, which is useful if you want to output this as a JSON or some other format.

Fields (Non-exhaustive)

Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
initial_expr: RecExpr<L>

The initial expression added to the egraph.

initial_expr_eclass: Id

The eclass id of the initial expression added to the egraph.

iterations: Vec<Iteration>

The data generated by each Iteration.

rules_time: f64

The total time spent running rules

stop_reason: E

The reason the Runner stop iterating.

Trait Implementations

impl<L: Clone, E: Clone> Clone for RunReport<L, E>[src]

impl<L: Debug, E: Debug> Debug for RunReport<L, E>[src]

Auto Trait Implementations

impl<L, E> !RefUnwindSafe for RunReport<L, E>

impl<L, E> !Send for RunReport<L, E>

impl<L, E> !Sync for RunReport<L, E>

impl<L, E> Unpin for RunReport<L, E> where
    E: Unpin

impl<L, E> !UnwindSafe for RunReport<L, E>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.