pub fn serialize<S, T>(
    t: &AtomicCell<T>,
    serializer: S
) -> Result<S::Ok, S::Error>where
    S: Serializer,
    T: Serialize + Copy,