Resolver

Trait Resolver 

Source
pub trait Resolver {
    type Attr: Debug + 'static;

    // Required method
    fn go(&self, selection: LLSelection) -> Vec<LLCursorAssignment<Self::Attr>>;
}

Required Associated Types§

Source

type Attr: Debug + 'static

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].

Required Methods§

Source

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

How to perform the assignments.

Implementors§