(&self)
| 171 | |
| 172 | impl<'js> Clone for CancelAlgorithm<'js> { |
| 173 | fn clone(&self) -> Self { |
| 174 | match self { |
| 175 | Self::ReturnPromiseUndefined => Self::ReturnPromiseUndefined, |
| 176 | Self::Function { |
| 177 | f, |
| 178 | underlying_source, |
| 179 | } => Self::Function { |
| 180 | f: f.clone(), |
| 181 | underlying_source: underlying_source.clone(), |
| 182 | }, |
| 183 | Self::RustFunction(rc) => Self::RustFunction(rc.clone()), |
| 184 | Self::Tee1(state) => Self::Tee1(state.clone()), |
| 185 | Self::Tee2(state) => Self::Tee2(state.clone()), |
| 186 | Self::Transform { stream, controller } => Self::Transform { |
| 187 | stream: stream.clone(), |
| 188 | controller: controller.clone(), |
| 189 | }, |
| 190 | } |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | impl<'js> Trace<'js> for CancelAlgorithm<'js> { |
no outgoing calls
no test coverage detected