pub trait HasFileNumber {
// Required method
fn current_file(&self) -> FileId;
}Expand description
Trait for objects that can return the current file number
Required Methods§
Sourcefn current_file(&self) -> FileId
fn current_file(&self) -> FileId
Return the current file identifier
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".