anybox 0.1.1

Library providing a plain and simple datatype that can hold data of arbitrary type.
Documentation
  • Coverage
  • 50%
    3 out of 6 items documented0 out of 5 items with examples
  • Size
  • Source code size: 4.41 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.24 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • nilsmartel/anybox
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • nilsmartel

AnyBox

(rust) Library providing a plain and simple datatype that can hold data of arbitrary type. In order to receive data providing the type again is required.

Designed to do one thing and do that well.

Usage

let data = AnyBox::new(7usize);

let retrieved: &usize = data.get();

Is this safe to use?

This is very experimental, it is not safe to use.