pub fn line2d_vector(start: Point, end: Point) -> Vec<Point, Global>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
    A: Allocator,
Expand description

Uses a 2D vector algorithm to plot a line between two points. On some CPUs, this is faster than Bresenham.