• Home
  • Raw
  • Download

Lines Matching defs:Self

26     pub(super) fn new(target: &'b mut ChartContext<'a, DB, Cartesian2d<X, Y>>) -> Self {  in new()
35 pub fn axis_style<T: Into<ShapeStyle>>(&mut self, style: T) -> &mut Self { in axis_style()
44 pub fn x_label_offset<S: SizeDesc>(&mut self, value: S) -> &mut Self { in x_label_offset()
53 pub fn y_label_offset<S: SizeDesc>(&mut self, value: S) -> &mut Self { in y_label_offset()
60 pub fn x_labels(&mut self, value: usize) -> &mut Self { in x_labels()
67 pub fn y_labels(&mut self, value: usize) -> &mut Self { in y_labels()
74 pub fn x_label_formatter(&mut self, fmt: &'b dyn Fn(&X::ValueType) -> String) -> &mut Self { in x_label_formatter()
81 pub fn y_label_formatter(&mut self, fmt: &'b dyn Fn(&Y::ValueType) -> String) -> &mut Self { in y_label_formatter()
88 pub fn axis_desc_style<T: IntoTextStyle<'b>>(&mut self, style: T) -> &mut Self { in axis_desc_style()
96 pub fn x_desc<T: Into<String>>(&mut self, desc: T) -> &mut Self { in x_desc()
103 pub fn y_desc<T: Into<String>>(&mut self, desc: T) -> &mut Self { in y_desc()
114 pub fn label_style<T: IntoTextStyle<'b>>(&mut self, style: T) -> &mut Self { in label_style()
121 pub fn set_all_tick_mark_size<S: SizeDesc>(&mut self, value: S) -> &mut Self { in set_all_tick_mark_size()
132 ) -> &mut Self { in set_tick_mark_size()
176 pub(crate) fn new(chart: &'b mut ChartContext<'a, DB, Cartesian2d<X, Y>>) -> Self { in new()
227 pub fn set_all_tick_mark_size<S: SizeDesc>(&mut self, value: S) -> &mut Self { in set_all_tick_mark_size()
243 ) -> &mut Self { in set_tick_mark_size()
257 pub fn x_label_offset<S: SizeDesc>(&mut self, value: S) -> &mut Self { in x_label_offset()
266 pub fn y_label_offset<S: SizeDesc>(&mut self, value: S) -> &mut Self { in y_label_offset()
272 pub fn disable_x_mesh(&mut self) -> &mut Self { in disable_x_mesh()
278 pub fn disable_y_mesh(&mut self) -> &mut Self { in disable_y_mesh()
284 pub fn disable_x_axis(&mut self) -> &mut Self { in disable_x_axis()
290 pub fn disable_y_axis(&mut self) -> &mut Self { in disable_y_axis()
296 pub fn disable_mesh(&mut self) -> &mut Self { in disable_mesh()
301 pub fn disable_axes(&mut self) -> &mut Self { in disable_axes()
307 pub fn axis_style<T: Into<ShapeStyle>>(&mut self, style: T) -> &mut Self { in axis_style()
313 pub fn x_labels(&mut self, value: usize) -> &mut Self { in x_labels()
320 pub fn y_labels(&mut self, value: usize) -> &mut Self { in y_labels()
327 pub fn bold_line_style<T: Into<ShapeStyle>>(&mut self, style: T) -> &mut Self { in bold_line_style()
334 pub fn light_line_style<T: Into<ShapeStyle>>(&mut self, style: T) -> &mut Self { in light_line_style()
341 pub fn label_style<T: IntoTextStyle<'b>>(&mut self, style: T) -> &mut Self { in label_style()
350 pub fn x_label_style<T: IntoTextStyle<'b>>(&mut self, style: T) -> &mut Self { in x_label_style()
357 pub fn y_label_style<T: IntoTextStyle<'b>>(&mut self, style: T) -> &mut Self { in y_label_style()
364 pub fn x_label_formatter(&mut self, fmt: &'b dyn Fn(&X::ValueType) -> String) -> &mut Self { in x_label_formatter()
371 pub fn y_label_formatter(&mut self, fmt: &'b dyn Fn(&Y::ValueType) -> String) -> &mut Self { in y_label_formatter()
378 pub fn axis_desc_style<T: IntoTextStyle<'b>>(&mut self, style: T) -> &mut Self { in axis_desc_style()
385 pub fn x_desc<T: Into<String>>(&mut self, desc: T) -> &mut Self { in x_desc()
392 pub fn y_desc<T: Into<String>>(&mut self, desc: T) -> &mut Self { in y_desc()