fn try_from(src:Point<i64>) -> Result<Compass,Self::Error> {
        match src[0] {
            -1 => {
                match src[1] {
                    -1 => { return Ok(Compass::NW); },
                    0 => { return Ok(Compass::W); },
                    1 => { return Ok(Compass::SW); },
                    _ => { return Err(()); }
                }
            },
            0 => {
                match src[1] {
                    -1 => { return Ok(Compass::N); },
                    1 => { return Ok(Compass::S); },
                    _ => { return Err(()); }
                }
            },
            1 => {
                match src[1] {
                    -1 => { return Ok(Compass::NE); },
                    0 => { return Ok(Compass::E); },
                    1 => { return Ok(Compass::SE); },
                    _ => { return Err(()); }
                }
            },
            _ => { return Err(()); }
        }
    }
// no information needed, it just didn't invert

no information needed, it just didn't invert
no information needed it just didn ' t invert
fn try_from(src:Point<i64>) -> Result<Compass,Self::Error> {
        match src[0] {
            -1 => {
                match src[1] {
                    -1 => { return Ok(Compass::NW); },
                    0 => { return Ok(Compass::W); },
                    1 => { return Ok(Compass::SW); },
                    _ => { return Err(()); }
                }
            },
            0 => {
                match src[1] {
                    -1 => { return Ok(Compass::N); },
                    1 => { return Ok(Compass::S); },
                    _ => { return Err(()); }
                }
            },
            1 => {
                match src[1] {
                    -1 => { return Ok(Compass::NE); },
                    0 => { return Ok(Compass::E); },
                    1 => { return Ok(Compass::SE); },
                    _ => { return Err(()); }
                }
            },
            _ => { return Err(()); }
        }
    }
fn try_from ( src : Point < i64 > ) -> Result < Compass , Self :: Error > { match src [ 0 ] { - 1 => { match src [ 1 ] { - 1 => { return Ok ( Compass :: NW ) ; } , 0 => { return Ok ( Compass :: W ) ; } , 1 => { return Ok ( Compass :: SW ) ; } , _ => { return Err ( ( ) ) ; } } } , 0 => { match src [ 1 ] { - 1 => { return Ok ( Compass :: N ) ; } , 1 => { return Ok ( Compass :: S ) ; } , _ => { return Err ( ( ) ) ; } } } , 1 => { match src [ 1 ] { - 1 => { return Ok ( Compass :: NE ) ; } , 0 => { return Ok ( Compass :: E ) ; } , 1 => { return Ok ( Compass :: SE ) ; } , _ => { return Err ( ( ) ) ; } } } , _ => { return Err ( ( ) ) ; } } }
no information needed, it just didn't invert
no information needed it just didn ' t invert
src
Point<i64>
src
Point<i64>