Struct skim::DisplayContext
source · pub struct DisplayContext<'a> {
pub text: &'a str,
pub score: i32,
pub matches: Matches<'a>,
pub container_width: usize,
pub highlight_attr: Attr,
}
Fields§
§text: &'a str
§score: i32
§matches: Matches<'a>
§container_width: usize
§highlight_attr: Attr
Trait Implementations§
source§impl<'a> From<DisplayContext<'a>> for AnsiString<'a>
impl<'a> From<DisplayContext<'a>> for AnsiString<'a>
source§fn from(context: DisplayContext<'a>) -> Self
fn from(context: DisplayContext<'a>) -> Self
Converts to this type from the input type.