Struct annotate_snippets::display_list::DisplayTextFragment [−][src]
pub struct DisplayTextFragment<'a> {
pub content: &'a str,
pub style: DisplayTextStyle,
}Expand description
An inline text fragment which any label is composed of.
Fields
content: &'a strstyle: DisplayTextStyleTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.