(&self)
| 901 | /// Panics if the datum is not [`Datum::Array`]. |
| 902 | #[track_caller] |
| 903 | pub fn unwrap_array(&self) -> Array<'a> { |
| 904 | match self { |
| 905 | Datum::Array(array) => *array, |
| 906 | _ => panic!("Datum::unwrap_array called on {:?}", self), |
| 907 | } |
| 908 | } |
| 909 | |
| 910 | /// Unwraps the list value within this datum. |
| 911 | /// |
no outgoing calls