Igneous rock is one of the three main rock types , the others being sedimentary and metamorphic rock . Igneous rock ( derived from the Latin word igneus meaning of fire , from ignis meaning fire ) is one of the three main rock types , the others being sedimentary and metamorphic rock .