Struct conrod::widget::button::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 label_font_id: Option<Option<Id>>,
    pub label_justify: Option<Justify>,
    pub label_x: Option<Relative>,
    pub label_y: Option<Relative>,
}

Unique styling for the Button.

Fields

Color of the Button's pressable area.

Width of the border surrounding the button

The color of the border.

The color of the Button's label.

The font size of the Button's label.

The ID of the font used to display the label.

The label's typographic alignment over the x axis.

The position of the title bar's Label widget over the x axis.

The position of the title bar's Label widget over the y axis.

Trait Implementations

impl Copy for Style
[src]

impl Clone for Style
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Style
[src]

Formats the value using the given formatter. Read more

impl Default for Style
[src]

Returns the "default value" for a type. Read more

impl PartialEq for Style
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Style

impl Sync for Style