Dual-mode control of PET process in a ferrocene-functionalized [2]rotaxane with high-contrast fluorescence output.