Struct limn_core::style::DrawState
[−]
[src]
pub struct DrawState { pub style: Option<DrawStyle>, pub state: Option<Box<Draw>>, // some fields omitted }
Fields
style: Option<DrawStyle>
state: Option<Box<Draw>>
Methods
impl DrawState
[src]
pub fn style_updated(&mut self)
[src]
pub fn update(&mut self, props: PropSet)
[src]
pub fn needs_update(&self) -> bool
[src]
ⓘImportant traits for &'a mut Ipub fn set_draw_state<T: Draw + Component + 'static>(
&mut self,
draw_state: T
) -> &mut Self
[src]
ⓘImportant traits for &'a mut I
&mut self,
draw_state: T
) -> &mut Self
pub fn set_draw_style(&mut self, new_style: DrawStyle)
[src]
ⓘImportant traits for &'a mut Ipub fn get_state<T: Draw>(&self) -> &T
[src]
ⓘImportant traits for &'a mut I