Lines Matching refs:DB
6 trait DynDrawable<DB: DrawingBackend> {
10 backend: &mut DB, in draw_dyn() argument
12 ) -> Result<(), DrawingErrorKind<DB::ErrorType>>; in draw_dyn()
15 impl<DB: DrawingBackend, T: Drawable<DB>> DynDrawable<DB> for T {
19 backend: &mut DB, in draw_dyn() argument
21 ) -> Result<(), DrawingErrorKind<DB::ErrorType>> { in draw_dyn()
27 pub struct DynElement<'a, DB, Coord>
29 DB: DrawingBackend,
33 drawable: Box<dyn DynDrawable<DB> + 'a>,
36 impl<'a, 'b: 'a, DB: DrawingBackend, Coord: Clone> PointCollection<'a, Coord>
37 for &'a DynElement<'b, DB, Coord>
46 impl<'a, DB: DrawingBackend, Coord: Clone> Drawable<DB> for DynElement<'a, DB, Coord> {
50 backend: &mut DB, in draw() argument
52 ) -> Result<(), DrawingErrorKind<DB::ErrorType>> { in draw()
59 pub trait IntoDynElement<'a, DB: DrawingBackend, Coord: Clone>
64 fn into_dyn(self) -> DynElement<'a, DB, Coord>; in into_dyn() argument
67 impl<'b, T, DB, Coord> IntoDynElement<'b, DB, Coord> for T
69 T: Drawable<DB> + 'b,
72 DB: DrawingBackend,
74 fn into_dyn(self) -> DynElement<'b, DB, Coord> { in into_dyn() argument