fn serialize_element<T>(&mut self, value: &T) -> Result<Self::Ok>
    where
        T: ?Sized + Serialize,
    {
        let mut serializer = crate::serde::Serializer { output: vec![] };
        value.serialize(&mut serializer)?;
        self.items.push(serializer.output);
        Ok(())
    }
// Serialize a single element of the sequence.
Serialize a single element of the sequence.
Serialize a single element of the sequence .
fn serialize_element<T>(&mut self, value: &T) -> Result<Self::Ok>
    where
        T: ?Sized + Serialize,
    {
        let mut serializer = crate::serde::Serializer { output: vec![] };
        value.serialize(&mut serializer)?;
        self.items.push(serializer.output);
        Ok(())
    }
fn serialize_element < T > ( & mut self , value : & T ) -> Result < Self :: Ok > where T : ? Sized + Serialize , { let mut serializer = crate :: serde :: Serializer { output : vec ! [ ] } ; value . serialize ( & mut serializer ) ? ; self . items . push ( serializer . output ) ; Ok ( ( ) ) }
Serialize a single element of the sequence.
Serialize a single element of the sequence .
&mut self
value
&T
&mut self
value
&T