fn idx(&self) -> usize {
        match *self {
            EdgeDir::TopLeft => 0,
            EdgeDir::TopRight => 1,
            EdgeDir::Right => 2,
            EdgeDir::BottomRight => 3,
            EdgeDir::BottomLeft => 4,
            EdgeDir::Left => 5,
        }
    }
/// Index for lookup in the const arrays above.
Index for lookup in the const arrays above.
Index for lookup in the const arrays above .
fn idx(&self) -> usize {
        match *self {
            EdgeDir::TopLeft => 0,
            EdgeDir::TopRight => 1,
            EdgeDir::Right => 2,
            EdgeDir::BottomRight => 3,
            EdgeDir::BottomLeft => 4,
            EdgeDir::Left => 5,
        }
    }
fn idx ( & self ) -> usize { match * self { EdgeDir :: TopLeft => 0 , EdgeDir :: TopRight => 1 , EdgeDir :: Right => 2 , EdgeDir :: BottomRight => 3 , EdgeDir :: BottomLeft => 4 , EdgeDir :: Left => 5 , } }
Index for lookup in the const arrays above.
Index for lookup in the const arrays above .
&self