logo
pub fn serialize<S, T>(
    vec: &Vec<T, Global>,
    serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
    S: Serializer,
    T: Serialize + Eq + Ord,
Expand description

Serialize the given Vec<T> as a map of T => Empty.