pub struct TypeChecker<'a> { /* private fields */ }
Implementations§
Source§impl<'a> TypeChecker<'a>
impl<'a> TypeChecker<'a>
pub fn new( symbols: &'a ScopeTree, recursion_depth: NonZeroU16, evidence: Witness, ) -> Self
pub fn into_inner(self) -> Cache<Rc<Language>>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for TypeChecker<'a>
impl<'a> !RefUnwindSafe for TypeChecker<'a>
impl<'a> !Send for TypeChecker<'a>
impl<'a> !Sync for TypeChecker<'a>
impl<'a> Unpin for TypeChecker<'a>
impl<'a> !UnwindSafe for TypeChecker<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<C, T, E> CanErase<C> for Twhere
E: Into<ReportMessage>,
T: Macro<Error = E> + 'static,
C: Context,
AnyNode: ConvertibleToRef<<T as Macro>::Node>,
impl<C, T, E> CanErase<C> for Twhere
E: Into<ReportMessage>,
T: Macro<Error = E> + 'static,
C: Context,
AnyNode: ConvertibleToRef<<T as Macro>::Node>,
Source§impl<T, U> ConvertibleToMut<U> for T
impl<T, U> ConvertibleToMut<U> for T
fn try_as_mut(&mut self) -> Option<&mut U>
Source§impl<T, U> ConvertibleToRef<U> for T
impl<T, U> ConvertibleToRef<U> for T
fn try_as_ref(&self) -> Option<&U>
Source§impl<C, T, E> ErasedMacro<C> for Twhere
E: Into<ReportMessage>,
C: Context,
T: Macro<Error = E> + 'static,
AnyNode: ConvertibleToRef<<T as Macro>::Node>,
impl<C, T, E> ErasedMacro<C> for Twhere
E: Into<ReportMessage>,
C: Context,
T: Macro<Error = E> + 'static,
AnyNode: ConvertibleToRef<<T as Macro>::Node>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more