Struct conrod::widget::primitive::image::State
[−]
[src]
pub struct State { pub src_rect: Option<Rect>, pub image_id: Id, }
Unique State
to be stored between updates for the Image
.
Fields
src_rect: Option<Rect>
The rectangular area of the image that we wish to display.
If None
, the entire image will be used.
image_id: Id
The unique identifier for the image's associated data that will be drawn.