Expand description
Interned collection of PropertySet instances. Each PropertySet contains properties where the names and the values are statically allocated.
The user is expected to manage the cardinality: this holds for key = static expr values
too, since every distinct combination is interned and never freed.
Structs§
- DynProperty
- A property whose value is not
'static. The name is either'static(new, referenced by address) or block-scoped (with_dyn_name, copied into the block like a dynamic value). Names from outside Rust, or otherwise unbounded, belong inwith_dyn_name. - PROPERTY_
SET_ DEP_ TYPE_ NAME - Property
- Property
Set - Property
SetDependency - Property
SetId - Identifies a property set within one block’s events: the address of an interned set, or the id of a record in the block’s dynamic dependency queue.
Traits§
- Property
Deps Queue - A dependency queue that can receive the records of a property set.
- String
Deps Queue - A dependency queue that can receive string records.
Functions§
- apply_
pairs - Adds
pairsin order, each one replacing an earlier property of the same name (case-insensitive), so the last one wins. - callsite_
set - Interns the literal properties of one macro callsite on first use.
cellis astaticemitted by the macro, so each callsite pays one atomic load afterwards. - dyn_
property_ get - property_
get - static_
value - Identity, but only accepts a
&'static str: a borrowed value passed to akey = static exprproperty is a lifetime error at the call site.