type QueryFeatureGetter<T> = fn(device: &Context<'_>) -> T;