Struct conrod::DrawArgs
[−]
[src]
pub struct DrawArgs<'a, W, C: 'a> where W: Widget { pub state: &'a State<W::State>, pub style: &'a W::Style, pub theme: &'a Theme, pub glyph_cache: &'a GlyphCache<C>, }
Arguments for the Widget::draw
method in a struct to simplify the method signature.
Fields
state: &'a State<W::State>
The current state of the Widget.
style: &'a W::Style
The current style of the Widget.
theme: &'a Theme
The active Theme
within the Ui
.
glyph_cache: &'a GlyphCache<C>
The Ui
's GlyphCache (for determining text width, etc).