fn serialize_element<T>(&mut self, value: &T) -> Result<()>
    where
        T: ?Sized + Serialize,
    {
        self.array.push(new_ruby_object(value)?);
        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<()>
    where
        T: ?Sized + Serialize,
    {
        self.array.push(new_ruby_object(value)?);
        Ok(())
    }
fn serialize_element < T > ( & mut self , value : & T ) -> Result < ( ) > where T : ? Sized + Serialize , { self . array . push ( new_ruby_object ( value ) ? ) ; Ok ( ( ) ) }
Serialize a single element of the sequence.
Serialize a single element of the sequence .
&mut self
value
&T
&mut self
value
&T