replace

Function replace 

Source
pub fn replace(old: impl Element, new: impl Element)