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