sway_types::span

Trait Spanned

Source
pub trait Spanned {
    // Required method
    fn span(&self) -> Span;
}

Required Methods§

Source

fn span(&self) -> Span

Implementations on Foreign Types§

Source§

impl<T: Spanned> Spanned for Box<T>

Source§

fn span(&self) -> Span

Implementors§