Trait EntryReader

pub trait EntryReader {
    // Required method
    fn entry_state(&self) -> EntryState;

    // Provided method
    fn main_id(&self) -> Option<FileId> { ... }
}
Expand description

A trait to read the entry state.

Required Methods§

fn entry_state(&self) -> EntryState

Gets the entry state.

Provided Methods§

fn main_id(&self) -> Option<FileId>

Gets the main file id.

Implementors§

§

impl<F> EntryReader for CompilerUniverse<F>
where F: CompilerFeat,

§

impl<F> EntryReader for CompilerWorld<F>
where F: CompilerFeat,