pub struct TypeInference {}
Expand description
Handles type inference and finalization
This module is responsible for inferring types when they are not explicitly specified and finalizing unspecified literal types to concrete types.
Implementations§
Source§impl TypeInference
impl TypeInference
Sourcepub fn infer_literal_type(&self, literal_value: &LiteralValue) -> TypeId
pub fn infer_literal_type(&self, literal_value: &LiteralValue) -> TypeId
Auto Trait Implementations§
impl Freeze for TypeInference
impl RefUnwindSafe for TypeInference
impl Send for TypeInference
impl Sync for TypeInference
impl Unpin for TypeInference
impl UnwindSafe for TypeInference
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