dynamic
A dyanmically typed value with fast downcasting.
Documentation
Provides a Dynamic
type, which contains a dynamically typed value. Dynamic
is similar to Any
from std::any::Any
, except that downcasting does not
involve any virtual calls since the TypeId
of the contained value is pre-computed.
Example
extern crate dynamic;
use Dynamic;
Usage
Use the crates.io repository; add this to your Cargo.toml
along
with the rest of your dependencies:
[]
= "0.2"
Author
Jonathan Reem is the primary author and maintainer of dynamic.
License
MIT