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.
Trait Implementations
impl Copy for State
[src]
impl Clone for State
[src]
fn clone(&self) -> State
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more