Function serde_cbor::ser::to_writer_packed [] [src]

pub fn to_writer_packed<W, T>(writer: &mut W, value: &T) -> Result<()> where
    W: Write,
    T: Serialize

Serializes a value without names to a writer.

Struct fields and enum variants are identified by their numeric indices rather than names to save space.