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 str
style: DisplayTextStyle
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.