Registry / utility / typeable

typeable

JSON →
library0.1.2rscratesunverified

Provides a Typeable trait for obtaining TypeIds at runtime.

# Cargo.toml [dependencies] typeable = "0.1.2"
INSTALL
IMPORT
SIG · TYPEABLE
T
typeable
utilityrustv0.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Typeable
use typeable::Typeable;

Gets the TypeId of a value at runtime.

use typeable::Typeable; fn main() { let x = 42u32; let type_id = x.type_id(); println!("{:?}", type_id); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
typeable — cargo add typeable · libregistry