pub fn drawstart(&mut self) {
        self.target = Some(self.display.draw());
        if let Some(ref mut target) = self.target {
            target.clear_color(0.0, 0.0, 0.0, 1.0);
        }
    }
/// Call `drawstart()` when you are ready to draw a new frame. It will initialize the next
/// off-screen framebuffer and clear it to black.
Call `drawstart()` when you are ready to draw a new frame. It will initialize the next
off-screen framebuffer and clear it to black.
Call ` drawstart () ` when you are ready to draw a new frame . It will initialize the next off - screen framebuffer and clear it to black .
pub fn drawstart(&mut self) {
        self.target = Some(self.display.draw());
        if let Some(ref mut target) = self.target {
            target.clear_color(0.0, 0.0, 0.0, 1.0);
        }
    }
pub fn drawstart ( & mut self ) { self . target = Some ( self . display . draw ( ) ) ; if let Some ( ref mut target ) = self . target { target . clear_color ( 0.0 , 0.0 , 0.0 , 1.0 ) ; } }
Call `drawstart()` when you are ready to draw a new frame.
Call ` drawstart () ` when you are ready to draw a new frame .
&mut self
&mut self