Struct conrod::widget::button::Flat[][src]

pub struct Flat {
    pub hover_color: Option<Color>,
    pub press_color: Option<Color>,
}

The Button simply displays a flat color.

Fields

Allows specifying a color to use when the mouse hovers over the button.

By default, this is color.highlighted() where color is the button's regular color.

Allows specifying a color to use when the mouse presses the button.

By default, this is color.clicked() where color is the button's regular color.

Trait Implementations

impl Copy for Flat
[src]

impl Clone for Flat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Flat
[src]

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

impl PartialEq for Flat
[src]

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

This method tests for !=.

impl Debug for Flat
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Flat

impl Sync for Flat