[−][src]Struct mergui::widgets::button::ButtonConfig
Fields
text: String
The text that will be rendered
font_style: FontStyle
The style that will be used for the text
background: Image
the name of the image for the background.
background_location: Rectangle
where the background needs to be rendered
blend_color: Option<Color>
optionally, the color that the background needs to blend with
hover_color: Option<Color>
optionally, the color the background needs to blend with if the user hovers over it
Trait Implementations
impl WidgetConfig<BasicClickable, Button> for ButtonConfig
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ButtonConfig
impl !Send for ButtonConfig
impl !Sync for ButtonConfig
impl Unpin for ButtonConfig
impl !UnwindSafe for ButtonConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,