pub trait IntoDynElement<'a, DB: DrawingBackend, Coord: Clone>where
    Self: 'a,{
    // 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> + 'b, for<'a> &'a T: PointCollection<'a, Coord>, Coord: Clone, DB: DrawingBackend,