/// Creates a new "display". Each display represents the light intensity of the corresponding LED.
Creates a new "display". Each display represents the light intensity of the corresponding LED.
Creates a new " display " . Each display represents the light intensity of the corresponding LED .
pub fn new(size: usize) -> Display {
        let mut result = Display { pixel: vec![0; size], direction: Direction::Right, };
        result.pixel[0] = MAX_INTENSITY;
        result
    }
pub fn new ( size : usize ) -> Display { let mut result = Display { pixel : vec ! [ 0 size ] , direction : Direction :: Right , } ; result . pixel [ 0 ] = MAX_INTENSITY ; result }
Creates a new "display".
Creates a new " display " .
size
usize