Trait HasPrimaryIdent

Source
pub trait HasPrimaryIdent {
    // Required method
    fn primary_ident(&self) -> &Ident;

    // Provided methods
    fn primary_name(&self) -> &Symbol { ... }
    fn primary_pos(&self) -> &SrcPos { ... }
}
Expand description

Primary identifier in secondary units

Required Methods§

Provided Methods§

Source

fn primary_name(&self) -> &Symbol

Source

fn primary_pos(&self) -> &SrcPos

The position of the primary name in the secondary unit declaration

Implementors§