Struct moore_common::Session
source · [−]pub struct Session {
pub opts: SessionOptions,
pub failed: Cell<bool>,
}
Fields
opts: SessionOptions
failed: Cell<bool>
Whether any error diagnostics were produced.
Implementations
Trait Implementations
sourceimpl DiagEmitter for Session
impl DiagEmitter for Session
sourcefn emit(&self, diag: DiagBuilder2)
fn emit(&self, diag: DiagBuilder2)
Emit a diagnostic message.
sourceimpl SessionContext for Session
impl SessionContext for Session
sourcefn has_verbosity(&self, verb: Verbosity) -> bool
fn has_verbosity(&self, verb: Verbosity) -> bool
Check if a verbosity option is set.
Auto Trait Implementations
impl !RefUnwindSafe for Session
impl Send for Session
impl !Sync for Session
impl Unpin for Session
impl UnwindSafe for Session
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more