operator [] method

GpuPipeline operator [](
  1. PipelineSpec spec
)

The pipeline for spec; it must have been in the set.

Implementation

GpuPipeline operator [](PipelineSpec spec) =>
    _pipelines[spec] ??
    (throw ArgumentError.value(spec, 'spec', 'Not in the set'));