pub fn new(
        program: &'a dyn TurtleProgram,
        lines_per_frame: u64,
    ) -> DoubleBufferedAnimatedWindowHandler<'a> {
        DoubleBufferedAnimatedWindowHandler {
            program,
            turtles: [TurtleState::new(), TurtleState::new()],
            iters: [
                TurtleCollectToNextForwardIterator::new_null_iter(),
                TurtleCollectToNextForwardIterator::new_null_iter(),
            ],
            lines_per_frame,
            which_frame: WhichFrame::FirstFrame,
        }
    }
/// Initialize a new DoubleBufferedAnimatedWindowHandler.
///
/// `lines_per_frame` specifies how many line segments the turtle should draw per frame.
Initialize a new DoubleBufferedAnimatedWindowHandler.
`lines_per_frame` specifies how many line segments the turtle should draw per frame.
Initialize a new DoubleBufferedAnimatedWindowHandler . ` lines_per_frame ` specifies how many line segments the turtle should draw per frame .
pub fn new(
        program: &'a dyn TurtleProgram,
        lines_per_frame: u64,
    ) -> DoubleBufferedAnimatedWindowHandler<'a> {
        DoubleBufferedAnimatedWindowHandler {
            program,
            turtles: [TurtleState::new(), TurtleState::new()],
            iters: [
                TurtleCollectToNextForwardIterator::new_null_iter(),
                TurtleCollectToNextForwardIterator::new_null_iter(),
            ],
            lines_per_frame,
            which_frame: WhichFrame::FirstFrame,
        }
    }
pub fn new ( program : & ' a dyn TurtleProgram , lines_per_frame : u64 , ) -> DoubleBufferedAnimatedWindowHandler < ' a > { DoubleBufferedAnimatedWindowHandler { program , turtles : [ TurtleState :: new ( ) , TurtleState :: new ( ) ] , iters : [ TurtleCollectToNextForwardIterator :: new_null_iter ( ) , TurtleCollectToNextForwardIterator :: new_null_iter ( ) , ] , lines_per_frame , which_frame : WhichFrame :: FirstFrame , } }
Initialize a new DoubleBufferedAnimatedWindowHandler.
Initialize a new DoubleBufferedAnimatedWindowHandler .
program
&'a dyn TurtleProgram
lines_per_frame
u64