Registry / utility / as-any

as-any

JSON →
library0.3.2rscratesunverified

Provide the AsAny trait for downcasting trait objects.

# Cargo.toml [dependencies] as-any = "0.3.2"
INSTALL
IMPORT
SIG · AS-ANY
A
as-any
utilityrustv0.3.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.

AsAny
use as_any::AsAny;

Use AsAny to enable downcasting of trait objects.

use as_any::AsAny; trait MyTrait: AsAny {} fn main() { // Implement AsAny for your trait }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
16
OpenAI (training)
2
Meta
1
Amazon
1
Resources
as-any — cargo add as-any · libregistry