Create a custom selection from a set of layers.
(layers: impl IntoIterator<Item = Layer>)
| 97 | |
| 98 | /// Create a custom selection from a set of layers. |
| 99 | pub fn custom(layers: impl IntoIterator<Item = Layer>) -> Self { |
| 100 | Self { |
| 101 | layers: layers.into_iter().collect(), |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | /// Parse from a query parameter value. |
| 106 | /// |