pub trait SpanExt: Into<Span> + Copy {
    fn or_else<F>(self, other: F) -> Span
    where
        F: FnOnce() -> Span
, { ... } }

Provided Methods

If self is dummy, use span from other.

Implementors