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

pub struct MapIteratorVisitor<Iter> {
    // some fields omitted
}

Methods

impl<K, V, Iter> MapIteratorVisitor<Iter> where Iter: Iterator<Item=(K, V)>

fn new(iter: Iter, len: Option<usize>) -> MapIteratorVisitor<Iter>

Trait Implementations

impl<K, V, I> MapVisitor for MapIteratorVisitor<I> where K: Serialize, V: Serialize, I: Iterator<Item=(K, V)>

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

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