How to rotate my layer?

At the layer's settings there is a rotation option: