The folded state of `trunk` in the current closure; empty when the closure never touched it.
(&self, trunk: &TrunkId)
| 166 | /// The folded state of `trunk` in the current closure; empty when the |
| 167 | /// closure never touched it. |
| 168 | pub(super) fn trunk(&self, trunk: &TrunkId) -> TrunkBranchState { |
| 169 | self.closures |
| 170 | .first() |
| 171 | .and_then(|closure| closure.trunks.get(trunk)) |
| 172 | .cloned() |
| 173 | .unwrap_or_default() |
| 174 | } |
| 175 | |
| 176 | #[cfg(test)] |
| 177 | pub(super) fn folded_len(&self) -> usize { |
no test coverage detected