Struct conrod::widget::primitive::image::State [] [src]

pub struct State {
    pub src_rect: Option<Rect>,
}

Unique State to be stored between updates for the Image.

Fields

The rectangular area of the image that we wish to display.

If None, the entire image will be used.

Trait Implementations

impl Copy for State
[src]

impl Clone for State
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more