Struct serde::ser::impls::TupleVisitor4 [] [src]

pub struct TupleVisitor4<'a, T0: 'a, T1: 'a, T2: 'a, T3: 'a> {
    // some fields omitted
}

A tuple visitor.

Methods

impl<'a, T0: 'a, T1: 'a, T2: 'a, T3: 'a> TupleVisitor4<'a, T0, T1, T2, T3>

fn new(tuple: &'a (T0, T1, T2, T3)) -> TupleVisitor4<'a, T0, T1, T2, T3>

Construct a new, empty TupleVisitor.

Trait Implementations

impl<'a, T0, T1, T2, T3> SeqVisitor for TupleVisitor4<'a, T0, T1, T2, T3> where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize

fn visit<S>(&mut self, serializer: &mut S) -> Result<Option<()>, S::Error> where S: Serializer

fn len(&self) -> Option<usize>