pub fn hit_testable(effectively_visible: bool, flags: ItemFlags) -> boolExpand description
Whether an entry takes part in pointer hit-testing at all.
The single home of two flag contracts that used to be written nowhere and honoured nowhere:
IS_VISIBLE— “the item is neither painted nor hit-tested”.effectively_visibleisScene::is_effectively_visible, so a visible item under a hidden ancestor is excluded too.IS_ENABLED— “disabled items are still painted but pass clicks through to items beneath”.
Applied by Scene::item_at / items_at / item_at_in_view and by both of
the SceneView’s per-layout snapshots, so the eager query and the dispatch
path answer the same question.