Trait tvix_eval::vm::GetSpan

source ·
trait GetSpan {
    // Required method
    fn get_span(self) -> Span;
}
Expand description

Internal helper trait for taking a span from a variety of types, to make use of WithSpan (defined below) more ergonomic at call sites.

Required Methods§

source

fn get_span(self) -> Span

Implementations on Foreign Types§

source§

impl GetSpan for &Span

source§

impl GetSpan for Span

Implementors§

source§

impl GetSpan for &CallFrame

source§

impl<'o, IO> GetSpan for &VM<'o, IO>