Appearance
cellpack::prof::SiteMask
Module contract · All interfaces
At a glance
pub struct SiteMask(pub u64);A set of sites, one bit per site in Site order.
Fields and variants
0
0: u64Member index
5 of 5 members
NONENo site: every hook is a bit test that fails.ALLEvery site: all 64 bits when there are that many, else one per site.parseSites and groups by name; all is every site.containsWhether site is enabled; a bit test of its Site index, so the timed instances can skip a disabled site at its call site.namesThe names of the enabled sites, in Site order.
Methods and associated constants
NONE
No site: every hook is a bit test that fails.
ALL
Every site: all 64 bits when there are that many, else one per site.
parse
Sites and groups by name; all is every site.
contains
Whether site is enabled; a bit test of its Site index, so the timed instances can skip a disabled site at its call site.
names
The names of the enabled sites, in Site order.
Implemented traits
Contract reference
See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.