pub trait StyleResolver {
// Required method
fn resolve(&self, style_id: u32) -> Style;
}Expand description
Resolves an opaque hjkl_buffer::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.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".