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

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

A tuple visitor.

Methods

impl<'a, T0: 'a, T1: 'a, T2: 'a> TupleVisitor3<'a, T0, T1, T2>

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

Construct a new, empty TupleVisitor.

Trait Implementations

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

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

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