Trait layered_nlp::Resolver[][src]

pub trait Resolver {
    type Attr: Debug + 'static;
    fn go(&self, selection: LLSelection) -> Vec<LLCursorAssignment<Self::Attr>>;
}

Associated Types

type Attr: Debug + 'static[src]

The kind of value that this resolver will assign into the LLLine.

It is constrained to std::fmt::Debug in order to ensure that it’s easy to debug with [layered_nlp::LLLineDisplay].

Loading content...

Required methods

fn go(&self, selection: LLSelection) -> Vec<LLCursorAssignment<Self::Attr>>[src]

How to perform the assignments.

Loading content...

Implementors

impl<T: Debug + Clone + 'static> Resolver for TextMatchAssignResolver<T>[src]

type Attr = T

fn go(&self, selection: LLSelection) -> Vec<LLCursorAssignment<Self::Attr>>[src]

Loading content...