pub trait SessionContext: DiagEmitter {
// Required method
fn has_verbosity(&self, verb: Verbosity) -> bool;
}Expand description
Access session options and emit diagnostics.
Required Methods§
Sourcefn has_verbosity(&self, verb: Verbosity) -> bool
fn has_verbosity(&self, verb: Verbosity) -> bool
Check if a verbosity option is set.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".