pub fn step(&mut self) -> Option<(i32, i32)> {
        let mut x: c_int = 0;
        let mut y: c_int = 0;
        let end = unsafe {
            ffi::TCOD_line_step_mt(&mut x, &mut y, &mut self.tcod_line)
        };

        if end == 0 {
            Some((x, y))
        } else {
            None
        }
    }
/// You can step through each point of the line. Return `None` when end of line
/// has been reached.
You can step through each point of the line. Return `None` when end of line
has been reached.
You can step through each point of the line . Return ` None ` when end of line has been reached .
pub fn step(&mut self) -> Option<(i32, i32)> {
        let mut x: c_int = 0;
        let mut y: c_int = 0;
        let end = unsafe {
            ffi::TCOD_line_step_mt(&mut x, &mut y, &mut self.tcod_line)
        };
        if end == 0 {
            Some((x, y))
        } else {
            None
        }
    }
pub fn step ( & mut self ) -> Option < ( i32 , i32 ) > { let mut x : c_int = 0 ; let mut y : c_int = 0 ; let end = unsafe { ffi :: TCOD_line_step_mt ( & mut x , & mut y , & mut self . tcod_line ) } ; if end == 0 { Some ( ( x , y ) ) } else { None } }
You can step through each point of the line.
You can step through each point of the line .
&mut self