Struct nannou::ui::prelude::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 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 Debug for Flat
[src]
impl Debug for Flat
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Default for Flat
[src]
impl Default for Flat
impl Copy for Flat
[src]
impl Copy for Flat
impl PartialEq<Flat> for Flat
[src]
impl PartialEq<Flat> for Flat