Struct serde_state::de::SeqSeedEx
[−]
[src]
pub struct SeqSeedEx<'seed, S, F, T: 'seed, U> { /* fields omitted */ }
SeqSeedEx
implements DeserializeSeed
for sequences whose elements implement
DeserializeState
Methods
impl<'seed, S, F, T, U> SeqSeedEx<'seed, S, F, T, U>
[src]
fn new(seed: &'seed mut T, with_capacity: F) -> SeqSeedEx<'seed, S, F, T, U>
Constructs a new instance of SeqSeedEx
Trait Implementations
impl<'de, 'seed, S, F, T, U> DeserializeSeed<'de> for SeqSeedEx<'seed, S, F, T, U> where
U: DeserializeState<'de, T>,
F: FnOnce(usize) -> S,
S: Extend<U>,
[src]
U: DeserializeState<'de, T>,
F: FnOnce(usize) -> S,
S: Extend<U>,
type Value = S
The type produced by using this seed.
fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error> where
D: Deserializer<'de>,
D: Deserializer<'de>,
Equivalent to the more common Deserialize::deserialize
method, except with some initial piece of data (the seed) passed in. Read more