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
id: Id
The id of the Image to be used.
color: ImageColor
If Some, maps the image's luminance to this Color.
src_rect: Option<Rect>
The rectangular area of the original source image that should be displayed.
Trait Implementations
impl Copy for Image[src]
impl Clone for Image[src]
fn clone(&self) -> Image[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more