When, as in the case of rock salt, gypsum, or nodular manganese, crystals make up the framefork of the rock, the may have resulted from several processes such as (a) precipitation followed by sedimentation, (b) precipitation directly on the bottom, or (c) precipitation within the sediment by displacement or replacement of earlier deposited material.