Module spacetimedb_lib::de

source ·

Modules§

Structs§

  • An implementation of [MapVisitor<'de, K, V>] where the output is a BTreeMap<K, V>.
  • An implementation of [ArrayVisitor<'de, T>] where the output is a SmallVec<[T; N]>.
  • An implementation of [ArrayVisitor<'de, T>] where the output is a Vec<T>.
  • Turns a closure impl Fn(&mut Formatter) -> Result into a Displayable object.

Enums§

Traits§

Functions§

  • A basic implementation of ArrayVisitor::visit using the provided size hint.
  • Turns a closure F: Fn(&mut Formatter) -> Result into a Displayable object.
  • Deserialize, provided the fields’ types, a product value with named fields.
  • Deserialize, provided the fields’ types, a product value with unnamed fields.

Derive Macros§