// The perm that shifts right, then applies `self`
The perm that shifts right, then applies `self`
The perm that shifts right then applies ` self `
fn prefix_shift_right(self, amt: usize) -> PermVec {
        // Subtract amt from each value.
        // ...or rather, shift left by `(-amt) mod len`
        //
        // (technically, this puts it into the range `[1, len]` instead of `[0, len)`
        //  due to a silly edge case, but that doesn't matter)
        let len = self.0.len();
        self.prefix_shift_left(len - amt % len)
    }
fn prefix_shift_right ( self , amt : usize ) -> PermVec { // Subtract amt from each value. // ...or rather, shift left by `(-amt) mod len` // // (technically, this puts it into the range `[1, len]` instead of `[0, len)` //  due to a silly edge case, but that doesn't matter) let len = self . 0 . len ( ) ; self . prefix_shift_left ( len - amt % len ) }
The perm that shifts right, then applies `self`
The perm that shifts right then applies ` self `
self
amt
usize