std::prelude::v1

Attribute Macro derive_const

source
#[derive_const]
🔬This is a nightly-only experimental API. (derive_const)
Expand description

Attribute macro used to apply derive macros for implementing traits in a const context.

See the reference for more info.