Convert this path builder into a [`ParamPath`].
(self)
| 682 | |
| 683 | /// Convert this path builder into a [`ParamPath`]. |
| 684 | pub fn build(self) -> ParamPath { |
| 685 | if self.0.len() == 1 { |
| 686 | ParamPath::Single(self.0[0]) |
| 687 | } else { |
| 688 | ParamPath::Multi(ArcGc::new_unsized(|| Arc::<[u32]>::from(self.0.as_slice()))) |
| 689 | } |
| 690 | } |
| 691 | } |
| 692 | |
| 693 | /// An event queue for diffing. |
no outgoing calls
no test coverage detected