Struct conrod::widget::number_dialer::Style [] [src]

pub struct Style {
    pub color: Option<Color>,
    pub border: Option<Scalar>,
    pub border_color: Option<Color>,
    pub label_color: Option<Color>,
    pub label_font_size: Option<FontSize>,
    pub font_id: Option<Option<Id>>,
}

Unique graphical styling for the NumberDialer.

Fields

Color of the NumberDialer's rectangle.

The color of the rectangle border.

The color of the rectangle border.

The color of the NumberDialer's label.

The font size for the NumberDialer's label.

The Id associated with the font to use for the NumberDialer values.

Methods

impl Style
[src]

[src]

Construct the default Style, initialising all fields to None.

impl Style
[src]

[src]

Retrieves the value from the Style.

If the Style's field is None, falls back to default specified within the Theme.

[src]

Retrieves the value from the Style.

If the Style's field is None, falls back to default specified within the Theme.

[src]

Retrieves the value from the Style.

If the Style's field is None, falls back to default specified within the Theme.

[src]

Retrieves the value from the Style.

If the Style's field is None, falls back to default specified within the Theme.

[src]

Retrieves the value from the Style.

If the Style's field is None, falls back to default specified within the Theme.

[src]

Retrieves the value from the Style.

If the Style's field is None, falls back to default specified within the Theme.

Trait Implementations

impl Copy for Style
[src]

impl Clone for Style
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Style
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Style
[src]

[src]

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

[src]

This method tests for !=.