substrate-data 0.4.0

One data model, text syntax, binary form, packed frames and schema system — for any program's files, saves and wire messages.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! A shaped map read step by step.

/// A shaped map being read step by step: which shape, and how far.
#[derive(Debug, Clone, Copy)]
pub(in crate::wire::binary) struct Walk {
    /// The nesting depth of the map.
    pub(in crate::wire::binary) depth: usize,
    pub(in crate::wire::binary) shape: usize,
    /// The next key to hand out.
    pub(in crate::wire::binary) next: usize,
}