pub trait StyleResolver {
// Required method
fn resolve(&self, style_id: u32) -> Style;
}Expand description
Resolves an opaque crate::Span::style id to a real ratatui
style. The buffer doesn’t know about colours; the host (sqeel-vim
or any future user) keeps a lookup table.