Trait modalkit::editing::context::Resolve

source ·
pub trait Resolve<T, R> {
    // Required method
    fn resolve(&self, t: &T) -> R;
}
Expand description

Trait for values that can be converted by the EditContext.

Required Methods§

source

fn resolve(&self, t: &T) -> R

Use contextual information to convert a T into an R.

Implementors§