Skip to main content

define_property_key

Macro define_property_key 

Source
macro_rules! define_property_key {
    (
        $name:ident,
        $set:ident,
        $key:literal,
        $output:ty
    ) => { ... };
}
Expand description

Macro to define a property key. This macro generates a struct that implements the PropertyKey trait.