Trait OptCheck

Source
pub trait OptCheck {
    // Required methods
    fn new() -> Self;
    fn check(&mut self, graph: &Graph, tcx: &TyCtxt<'_>);
    fn report(&self, graph: &Graph);
    fn cnt(&self) -> usize;
}

Required Methods§

Source

fn new() -> Self

Source

fn check(&mut self, graph: &Graph, tcx: &TyCtxt<'_>)

Source

fn report(&self, graph: &Graph)

Source

fn cnt(&self) -> usize

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§