Searched refs:draw_func (Results 1 – 2 of 2) sorted by relevance
16 draw_func: Option<Box<SeriesAnnoDrawFn<'a, DB>>>, field27 self.draw_func.as_ref().map(|x| x.as_ref()) in get_draw_func()33 draw_func: None, in new()52 self.draw_func = Some(Box::new(move |p| func(p).into_dyn())); in legend()188 let draw_func = anno.get_draw_func(); in draw() localVariable190 if label_text == "" && draw_func.is_none() { in draw()195 draw_func.unwrap_or_else(|| &|p: BackendCoord| EmptyElement::at(p).into_dyn()), in draw()
191 mut draw_func: DrawFunc, in draw_mesh()200 .draw_mesh(y_count_max, x_count_max, |line| draw_func(b, line)) in draw_mesh()