Struct conrod::widget::button::Flat [−][src]
The Button
simply displays a flat color.
Fields
hover_color: Option<Color>
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.
press_color: Option<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 Copy for Flat
impl Clone for Flat
[src]
impl Clone for Flat
fn clone(&self) -> Flat
[src]
fn clone(&self) -> Flat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for Flat
[src]
impl Default for Flat
impl PartialEq for Flat
[src]
impl PartialEq for Flat
fn eq(&self, other: &Flat) -> bool
[src]
fn eq(&self, other: &Flat) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Flat) -> bool
[src]
fn ne(&self, other: &Flat) -> bool
This method tests for !=
.
impl Debug for Flat
[src]
impl Debug for Flat