(&self)
| 126 | |
| 127 | impl<'a> GetRef<'a, &'a Map> for Data { |
| 128 | fn get_ref(&self) -> &Map { |
| 129 | match self.ty { |
| 130 | DataType::Collection(CollectionType::Map) => self.data.as_ref().unwrap(), |
| 131 | _ => unreachable!("type is not match"), |
| 132 | } |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | impl<'a> GetRef<'a, &'a CowList> for Data { |