Trait lang_util::located::HasFileNumber

source ·
pub trait HasFileNumber {
    // Required method
    fn current_file(&self) -> FileId;
}
Expand description

Trait for objects that can return the current file number

Required Methods§

source

fn current_file(&self) -> FileId

Return the current file identifier

Implementors§