Struct conrod::WidgetUpdate [−] [src]

pub struct WidgetUpdate<T> {
    pub new_state: T,
    pub xy: Point,
    pub depth: Depth,
    pub element: Element,
}

An update to be returned by the widget after each pass.

Fields

new_state

The new state of the Widget.

xy

The position of the Widget given as [x, y] coordinates.

depth

The rendering depth for the Widget (the default is 0.0).

element

The element to be used for drawing.