Trait tract_hir::infer::rules::expr::TExp[][src]

pub trait TExp<T>: Debug {
    fn get(&self, context: &Context) -> TractResult<T>;
fn set(&self, context: &mut Context, value: T) -> TractResult<bool>;
fn get_paths(&self) -> Vec<&Path>
Notable traits for Vec<u8, A>
impl<A> Write for Vec<u8, A> where
    A: Allocator
; }
Expand description

An expression that can be compared by the solver.

Required methods

Returns the current value of the expression in the given context.

Tries to set the value of the expression in the given context.

Returns the paths that the expression depends on.

Implementors