pub trait SeqVisitor {
fn visit<S>(&mut self, serializer: &mut S) -> Result<Option<()>, S::Error> where S: Serializer;
fn len(&self) -> Option<usize> { ... }
}
Required Methods
Provided Methods
Return the length of the sequence if known.
Implementors
impl<T, Iter> SeqVisitor for SeqIteratorVisitor<Iter> where T: Serialize, Iter: Iterator<Item=T>
impl<'a, T0> SeqVisitor for TupleVisitor1<'a, T0> where T0: Serialize
impl<'a, T0, T1> SeqVisitor for TupleVisitor2<'a, T0, T1> where T0: Serialize, T1: Serialize
impl<'a, T0, T1, T2> SeqVisitor for TupleVisitor3<'a, T0, T1, T2> where T0: Serialize, T1: Serialize, T2: Serialize
impl<'a, T0, T1, T2, T3> SeqVisitor for TupleVisitor4<'a, T0, T1, T2, T3> where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize
impl<'a, T0, T1, T2, T3, T4> SeqVisitor for TupleVisitor5<'a, T0, T1, T2, T3, T4> where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize
impl<'a, T0, T1, T2, T3, T4, T5> SeqVisitor for TupleVisitor6<'a, T0, T1, T2, T3, T4, T5> where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize
impl<'a, T0, T1, T2, T3, T4, T5, T6> SeqVisitor for TupleVisitor7<'a, T0, T1, T2, T3, T4, T5, T6> where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize
impl<'a, T0, T1, T2, T3, T4, T5, T6, T7> SeqVisitor for TupleVisitor8<'a, T0, T1, T2, T3, T4, T5, T6, T7> where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize
impl<'a, T0, T1, T2, T3, T4, T5, T6, T7, T8> SeqVisitor for TupleVisitor9<'a, T0, T1, T2, T3, T4, T5, T6, T7, T8> where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize, T8: Serialize
impl<'a, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> SeqVisitor for TupleVisitor10<'a, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize, T8: Serialize, T9: Serialize
impl<'a, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> SeqVisitor for TupleVisitor11<'a, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize, T8: Serialize, T9: Serialize, T10: Serialize
impl<'a, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> SeqVisitor for TupleVisitor12<'a, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize, T8: Serialize, T9: Serialize, T10: Serialize, T11: Serialize
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).
Search functions by type signature (e.g.
vec -> usize
)