fn escape_time(c: Complex<f64>, limit: u32) -> Option<u32> {
    let mut z = Complex{re: 0.0, im: 0.0};
    for i in 0..limit {
        z = z * z + c;
        if z.norm_sqr() > 4.0 {
            return Some(i);
        }
    }
    None
}
/// Try to determine if `c` is in the Mandelbrot set, using at most `limit` iterations to decide.
///
/// if `c` is not a member, return `Some(i)`, where `i` is the number of iterations it took for `c`
/// to leave the circle of radius two centered on the origin. If `c` seems to be a member (more
/// precisely, if we reached the iteration limit without being able to prove that `c` is not a
/// member) return `None`
Try to determine if `c` is in the Mandelbrot set, using at most `limit` iterations to decide.
Try to determine if ` c ` is in the Mandelbrot set using at most ` limit ` iterations to decide .
fn escape_time(c: Complex<f64>, limit: u32) -> Option<u32> {
    let mut z = Complex{re: 0.0, im: 0.0};
    for i in 0..limit {
        z = z * z + c;
        if z.norm_sqr() > 4.0 {
            return Some(i);
        }
    }
    None
}
fn escape_time ( c : Complex < f64 > , limit : u32 ) -> Option < u32 > { let mut z = Complex { re : 0.0 , im : 0.0 } ; for i in 0 .. limit { z = z * z + c ; if z . norm_sqr ( ) > 4.0 { return Some ( i ) ; } } None }
Try to determine if `c` is in the Mandelbrot set, using at most `limit` iterations to decide.
Try to determine if ` c ` is in the Mandelbrot set using at most ` limit ` iterations to decide .
c
Complex<f64>
limit
u32
c
Complex<f64>
limit
u32