pub trait IntoDynElement<'a, DB, Coord>: 'awhere
    DB: DrawingBackend,
    Coord: Clone,{
    // Required method
    fn into_dyn(self) -> DynElement<'a, DB, Coord>;
}
Expand description

The trait that makes the conversion from the statically dispatched element to the dynamically dispatched element

Required Methods§

source

fn into_dyn(self) -> DynElement<'a, DB, Coord>

Make the conversion

Implementors§

source§

impl<'b, T, DB, Coord> IntoDynElement<'b, DB, Coord> for Twhere T: Drawable<DB, BackendCoordOnly> + 'b, &'a T: for<'a> PointCollection<'a, Coord, BackendCoordOnly>, Coord: Clone, DB: DrawingBackend,