macro_rules! define_multi_property {
(
( $($dependency:ident),+ ),
$entity:ident
) => { ... };
}Expand description
Defines a derived property consisting of a (named) tuple of other properties. The primary use case is for indexing and querying properties jointly.
The index subsystem is smart enough to reuse indexes for multi-properties that are equivalent up to reordering of the component properties. The querying subsystem is able to detect when its multiple component properties are equivalent to an indexed multi-property and use that index to perform the query.