Type Alias kff::section::values::Values

source ·
pub type Values = HashMap<String, u64, BuildHasherDefault<FxHasher>>;
Expand description

Struct to parse, manage and write Values section

Aliased Type§

struct Values { /* private fields */ }

Trait Implementations§

source§

impl AbcValues for Values

source§

fn new() -> Self

Build an empty Values
source§

fn with_capacity(capacity: usize) -> Self

Build an empty Values but with a minimal capacity
source§

fn read<R>(inner: &mut R) -> Result<Self>
where R: Read + KffRead,

Build a Values from a readable key are overwrite, section flag must be already read
source§

fn write<W>(&self, outer: &mut W) -> Result<()>
where W: Write + KffWrite,

Write contents of Values in writables, section flag isn’t write
Write contents of Values in a writables as a footer