pub fn swap<T: 'static>(value: T) -> Option<T>
Swaps the value associated with type T with the given value, returns the old one.
T