Differential, Energetic, and Metric Formulations for Rate-Independent Processes