Returns the "after" reference for insert operations.
(&self)
| 947 | |
| 948 | /// Returns the "after" reference for insert operations. |
| 949 | pub fn insert_after(&self) -> Option<BranchId> { |
| 950 | match &self.operation { |
| 951 | BranchOp::Insert { after, .. } => *after, |
| 952 | _ => None, |
| 953 | } |
| 954 | } |
| 955 | |
| 956 | /// Consumes and returns the branch operation. |
| 957 | pub fn into_operation(self) -> BranchOp { |
nothing calls this directly
no outgoing calls
no test coverage detected