pub type OptionLocationRef<'a, 'b> = Option<&'a Location<'b>>;Expand description
A type alias for an optional reference to a Location.
The lifetimes 'a and 'b are tied to the PanicHookInfo from which the
location information is sourced. This ensures that the reference does not
outlive the panic information itself, preventing dangling pointers.
Aliased Type§
pub enum OptionLocationRef<'a, 'b> {
None,
Some(&'a Location<'b>),
}