withRear

A copy with the rear direction changed.

Return

a new instance

Parameters

rear

the new rear value