pub fn corner_orientation_index(&self) -> u16 {
        let mut result = 0;
        for i in 0..7 {
            result = (result * 3) + self.corners[i].orientation as u16;
        }
        result
    }
/// Index for the corner orientations is a simple base 3 integer representation. The
/// zero index is the solved state. Note that the last corner is not represented in
/// the index as its value is implicit (all corner orientations must add to a
/// multiple of 3).
Index for the corner orientations is a simple base 3 integer representation. The
zero index is the solved state. Note that the last corner is not represented in
the index as its value is implicit (all corner orientations must add to a
multiple of 3).
Index for the corner orientations is a simple base 3 integer representation . The zero index is the solved state . Note that the last corner is not represented in the index as its value is implicit ( all corner orientations must add to a multiple of 3 ) .
pub fn corner_orientation_index(&self) -> u16 {
        let mut result = 0;
        for i in 0..7 {
            result = (result * 3) + self.corners[i].orientation as u16;
        }
        result
    }
pub fn corner_orientation_index ( & self ) -> u16 { let mut result = 0 ; for i in 0 .. 7 { result = ( result * 3 ) + self . corners [ i ] . orientation as u16 ; } result }
Index for the corner orientations is a simple base 3 integer representation.
Index for the corner orientations is a simple base 3 integer representation .
&self
&self