Struct nannou::ui::prelude::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

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

If None, the entire image will be used.

The unique identifier for the image's associated data that will be drawn.

Trait Implementations

impl Clone for State
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for State
[src]

Auto Trait Implementations

impl Send for State

impl Sync for State