Skip to main content

RustLocation

Trait RustLocation 

Source
pub(crate) trait RustLocation {
    // Required method
    fn line_in(&self, ctx: &AstCtx<'_>) -> usize;
}

Required Methods§

Source

fn line_in(&self, ctx: &AstCtx<'_>) -> usize

Implementations on Foreign Types§

Source§

impl<N> RustLocation for &N
where N: AstNode,

Source§

fn line_in(&self, ctx: &AstCtx<'_>) -> usize

Implementors§