(&mut self, name: &'static str, value: &T)
| 197 | self.reference(&bytes, 19) |
| 198 | } |
| 199 | fn with<T: Serialize + ?Sized>(&mut self, name: &'static str, value: &T) -> SResult<()> { |
| 200 | let old = self.enter(name); |
| 201 | let result = value.serialize(&mut *self); |
| 202 | self.ctx = old; |
| 203 | result |
| 204 | } |
| 205 | } |
| 206 | |
| 207 | struct Compound<'a> { |