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

pub struct Image {
    pub id: Id,
    pub color: ImageColor,
    pub src_rect: Option<Rect>,
}

The Button displays an Image on top.

Fields

The id of the Image to be used.

If Some, maps the image's luminance to this Color.

The rectangular area of the original source image that should be displayed.

Trait Implementations

impl Copy for Image
[src]

impl Clone for Image
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Show for Image
[src]

[src]

Display the unique styling of the Button.