/// Returns a fn pointer which returns an `ImageBuffer` with a triangle drawn on it
Returns a fn pointer which returns an `ImageBuffer` with a triangle drawn on it
Returns a fn pointer which returns an ` ImageBuffer ` with a triangle drawn on it
pub fn draw_line<P: Pixel + 'static>(
    buf: &mut GenericImageBuf<P>,
    line: Line,
    color: &'static P,
) -> Result<(), Box<dyn std::error::Error>> {
    // Draw line on buffer
    plot_line_bres::<P>(buf, color, line)
}
pub fn draw_line < P : Pixel + ' static > ( buf : & mut GenericImageBuf < P > , line : Line , color : & ' static P , ) -> Result < ( ) , Box < dyn std :: error :: Error > > { // Draw line on buffer plot_line_bres :: < P > ( buf , color , line ) }
Returns a fn pointer which returns an `ImageBuffer` with a triangle drawn on it
Returns a fn pointer which returns an ` ImageBuffer ` with a triangle drawn on it
buf
&mut GenericImageBuf<P>
line
Line
color
&'static P