Enum annotate_snippets::display_list::DisplayTextStyle [] [src]

pub enum DisplayTextStyle {
    Regular,
    Emphasis,
}

A style for the DisplayTextFragment which can be visually formatted.

This information may be used to emphasis parts of the label.

Variants

Trait Implementations

impl Debug for DisplayTextStyle
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for DisplayTextStyle
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for DisplayTextStyle
[src]

impl PartialEq for DisplayTextStyle
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

Auto Trait Implementations