Home
last modified time | relevance | path

Searched refs:SizeDesc (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/plotters/src/element/
Dpoints.rs3 use crate::style::{ShapeStyle, SizeDesc};
7 pub trait PointElement<Coord, Size: SizeDesc> {
12 pub struct Cross<Coord, Size: SizeDesc> {
18 impl<Coord, Size: SizeDesc> Cross<Coord, Size> {
28 impl<'a, Coord: 'a, Size: SizeDesc> PointCollection<'a, Coord> for &'a Cross<Coord, Size> {
36 impl<Coord, DB: DrawingBackend, Size: SizeDesc> Drawable<DB> for Cross<Coord, Size> {
55 pub struct TriangleMarker<Coord, Size: SizeDesc> {
61 impl<Coord, Size: SizeDesc> TriangleMarker<Coord, Size> {
71 impl<'a, Coord: 'a, Size: SizeDesc> PointCollection<'a, Coord> for &'a TriangleMarker<Coord, Size> {
79 impl<Coord, DB: DrawingBackend, Size: SizeDesc> Drawable<DB> for TriangleMarker<Coord, Size> {
[all …]
Dbasic_shapes.rs2 use crate::style::{ShapeStyle, SizeDesc};
226 pub struct Circle<Coord, Size: SizeDesc> {
232 impl<Coord, Size: SizeDesc> Circle<Coord, Size> {
247 impl<'a, Coord, Size: SizeDesc> PointCollection<'a, Coord> for &'a Circle<Coord, Size> {
255 impl<Coord, DB: DrawingBackend, Size: SizeDesc> Drawable<DB> for Circle<Coord, Size> {
/external/rust/crates/plotters/src/chart/
Dbuilder.rs8 use crate::style::{IntoTextStyle, SizeDesc, TextStyle};
50 pub fn margin<S: SizeDesc>(&mut self, size: S) -> &mut Self { in margin()
58 pub fn margin_top<S: SizeDesc>(&mut self, size: S) -> &mut Self { in margin_top()
66 pub fn margin_bottom<S: SizeDesc>(&mut self, size: S) -> &mut Self { in margin_bottom()
74 pub fn margin_left<S: SizeDesc>(&mut self, size: S) -> &mut Self { in margin_left()
82 pub fn margin_right<S: SizeDesc>(&mut self, size: S) -> &mut Self { in margin_right()
89 pub fn set_all_label_area_size<S: SizeDesc>(&mut self, size: S) -> &mut Self { in set_all_label_area_size()
98 pub fn set_left_and_bottom_label_area_size<S: SizeDesc>(&mut self, size: S) -> &mut Self { in set_left_and_bottom_label_area_size()
106 pub fn x_label_area_size<S: SizeDesc>(&mut self, size: S) -> &mut Self { in x_label_area_size()
112 pub fn y_label_area_size<S: SizeDesc>(&mut self, size: S) -> &mut Self { in y_label_area_size()
[all …]
Dmesh.rs10 SizeDesc, TextStyle,
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()
121 pub fn set_all_tick_mark_size<S: SizeDesc>(&mut self, value: S) -> &mut Self { in set_all_tick_mark_size()
128 pub fn set_tick_mark_size<S: SizeDesc>( in set_tick_mark_size()
227 pub fn set_all_tick_mark_size<S: SizeDesc>(&mut self, value: S) -> &mut Self { in set_all_tick_mark_size()
239 pub fn set_tick_mark_size<S: SizeDesc>( 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()
Dseries.rs5 use crate::style::{IntoFont, IntoTextStyle, ShapeStyle, SizeDesc, TextStyle, TRANSPARENT};
130 pub fn margin<S: SizeDesc>(&mut self, value: S) -> &mut Self { in margin()
139 pub fn legend_area_size<S: SizeDesc>(&mut self, size: S) -> &mut Self { in legend_area_size()
Daxes3d.rs8 use crate::style::{AsRelative, ShapeStyle, SizeDesc, TextStyle};
41 pub fn tick_size<Size: SizeDesc>(&mut self, size: Size) -> &mut Self { in tick_size()
/external/rust/crates/plotters/src/series/
Dpoint_series.rs2 use crate::style::{ShapeStyle, SizeDesc};
6 pub struct PointSeries<'a, Coord, I: IntoIterator<Item = Coord>, E, Size: SizeDesc + Clone> {
13 impl<'a, Coord, I: IntoIterator<Item = Coord>, E, Size: SizeDesc + Clone> Iterator
24 impl<'a, Coord, I: IntoIterator<Item = Coord>, E, Size: SizeDesc + Clone>
42 impl<'a, Coord, I: IntoIterator<Item = Coord>, E, Size: SizeDesc + Clone>
/external/rust/crates/plotters/src/style/
Dsize.rs28 pub trait SizeDesc { trait
36 impl SizeDesc for i32 {
42 impl SizeDesc for u32 {
87 impl SizeDesc for RelativeSize {
144 impl SizeDesc for RelativeSizeWithBound {
Dtext.rs3 use super::size::{HasDimension, SizeDesc};
41 impl<'a, T: SizeDesc> IntoTextStyle<'a> for (&'a str, T) {
47 impl<'a, T: SizeDesc> IntoTextStyle<'a> for (FontFamily<'a>, T) {
53 impl<'a, T: SizeDesc> IntoTextStyle<'a> for (&'a str, T, FontStyle) {
59 impl<'a, T: SizeDesc> IntoTextStyle<'a> for (FontFamily<'a>, T, FontStyle) {
Dmod.rs20 pub use size::{AsRelative, RelativeSize, SizeDesc};
/external/rust/crates/plotters/src/drawing/
Darea.rs6 use crate::style::{Color, SizeDesc, TextStyle};
361 pub fn shrink<A: SizeDesc, B: SizeDesc, C: SizeDesc, D: SizeDesc>( in shrink() argument
389 pub fn margin<ST: SizeDesc, SB: SizeDesc, SL: SizeDesc, SR: SizeDesc>( in margin() argument
413 pub fn split_vertically<S: SizeDesc>(&self, y: S) -> (Self, Self) { in split_vertically()
426 pub fn split_horizontally<S: SizeDesc>(&self, x: S) -> (Self, Self) { in split_horizontally()
452 XSize: SizeDesc, in split_by_breakpoints() argument
453 YSize: SizeDesc, in split_by_breakpoints() argument