Skip to main content

Identifier

Trait Identifier 

Source
pub trait Identifier {
    // Required method
    fn identifier(&self) -> TextRange;
}

Required Methods§

Source

fn identifier(&self) -> TextRange

Return the TextRange of the identifier in the given AST node.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§