TypeDef
Identify or compare types, get or print type names.
Since Rust 1.0, this library can only work on nightly Rust. To activate the nice names instead
of gobbledygook, include this library with features = ["nightly"]
configuration parameter.
On stable rust, it falls back to gobbledygook (type identifier) instead of a nice name.
Quick example
use ;
// type name querying:
assert!;
// and also type value:
let typedef = ;
assert!;
assert!;
assert!;
println!;
Usage
Put this in your Cargo.toml
:
[]
= "*"
And this in your crate root:
extern crate typedef;
Resources
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.