Searched refs:DrawingAreaErrorKind (Results 1 – 9 of 9) sorted by relevance
/external/rust/crates/plotters/src/chart/ |
D | series.rs | 3 use crate::drawing::DrawingAreaErrorKind; 169 pub fn draw(&mut self) -> Result<(), DrawingAreaErrorKind<DB::ErrorType>> { in draw() 201 DrawingAreaErrorKind::BackendError(DrawingErrorKind::FontError(Box::new(e))) in draw() 231 DrawingAreaErrorKind::BackendError(DrawingErrorKind::FontError(Box::new(e))) in draw()
|
D | context.rs | 12 use crate::drawing::{DrawingArea, DrawingAreaErrorKind}; 103 ) -> Result<(), DrawingAreaErrorKind<DB::ErrorType>> in draw_series_impl() 126 ) -> Result<&mut SeriesAnno<'a, DB>, DrawingAreaErrorKind<DB::ErrorType>> in draw_series() 164 ) -> Result<(Vec<(i32, String)>, Vec<(i32, String)>), DrawingAreaErrorKind<DB::ErrorType>> in draw_mesh_lines() 205 ) -> Result<Range<i32>, DrawingAreaErrorKind<DB::ErrorType>> { in draw_axis() 280 ) -> Result<(), DrawingAreaErrorKind<DB::ErrorType>> { in draw_axis_and_labels() 476 ) -> Result<(), DrawingAreaErrorKind<DB::ErrorType>> 642 ) -> Result<(), DrawingAreaErrorKind<DB::ErrorType>> { 703 DrawingAreaErrorKind<DB::ErrorType>, 769 DrawingAreaErrorKind<DB::ErrorType>, [all …]
|
D | builder.rs | 7 use crate::drawing::{DrawingArea, DrawingAreaErrorKind}; 168 DrawingAreaErrorKind<DB::ErrorType>, in build_ranged() 185 DrawingAreaErrorKind<DB::ErrorType>, in build_cartesian_2d() 323 DrawingAreaErrorKind<DB::ErrorType>, in build_cartesian_3d()
|
D | axes3d.rs | 12 use crate::drawing::DrawingAreaErrorKind; 120 pub fn draw(&mut self) -> Result<(), DrawingAreaErrorKind<DB::ErrorType>> in draw()
|
D | mesh.rs | 7 use crate::drawing::DrawingAreaErrorKind; 109 pub fn draw(&mut self) -> Result<(), DrawingAreaErrorKind<DB::ErrorType>> { in draw() 398 pub fn draw(&mut self) -> Result<(), DrawingAreaErrorKind<DB::ErrorType>> { in draw()
|
D | dual_coord.rs | 14 use crate::drawing::DrawingAreaErrorKind; 198 ) -> Result<&mut SeriesAnno<'a, DB>, DrawingAreaErrorKind<DB::ErrorType>> in draw_secondary_series()
|
/external/rust/crates/plotters/src/drawing/ |
D | area.rs | 135 pub enum DrawingAreaErrorKind<E: Error + Send + Sync> { enum 146 impl<E: Error + Send + Sync> std::fmt::Display for DrawingAreaErrorKind<E> { implementation 149 DrawingAreaErrorKind::BackendError(e) => write!(fmt, "backend error: {}", e), in fmt() 150 DrawingAreaErrorKind::SharingError => { in fmt() 153 DrawingAreaErrorKind::LayoutError => write!(fmt, "Bad layout"), in fmt() 158 impl<E: Error + Send + Sync> Error for DrawingAreaErrorKind<E> {} implementation 161 type DrawingAreaError<T: DrawingBackend> = DrawingAreaErrorKind<T::ErrorType>; 194 ) -> Result<(), DrawingAreaErrorKind<DB::ErrorType>> in draw_mesh() 276 .map_err(DrawingAreaErrorKind::BackendError)?; in backend_ops() 277 ops(&mut db).map_err(DrawingAreaErrorKind::BackendError) in backend_ops() [all …]
|
D | mod.rs | 16 pub use area::{DrawingArea, DrawingAreaErrorKind, IntoDrawingArea};
|
/external/rust/crates/plotters/src/ |
D | lib.rs | 778 Result<T, crate::drawing::DrawingAreaErrorKind<D::ErrorType>>;
|