Struct stc_ts_file_analyzer::analyzer::generalize::Simplifier
source · [−]struct Simplifier<'a> {
env: &'a Env,
}
Expand description
Simplifies the type.
Fields
env: &'a Env
Implementations
sourceimpl Simplifier<'_>
impl Simplifier<'_>
fn should_skip_inference(&mut self, ty: &Type) -> bool
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Simplifier<'a>
impl<'a> Send for Simplifier<'a>
impl<'a> Sync for Simplifier<'a>
impl<'a> Unpin for Simplifier<'a>
impl<'a> !UnwindSafe for Simplifier<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more