Struct clarity_repl::clarity::analysis::type_checker::contexts::TypeMap
source · [−]pub struct TypeMap { /* private fields */ }
Implementations
sourceimpl TypeMap
impl TypeMap
pub fn new() -> TypeMap
pub fn set_type(
&mut self,
expr: &SymbolicExpression,
type_sig: TypeSignature
) -> CheckResult<()>
pub fn get_type(&self, expr: &SymbolicExpression) -> Option<&TypeSignature>
Trait Implementations
impl Eq for TypeMap
impl StructuralEq for TypeMap
impl StructuralPartialEq for TypeMap
Auto Trait Implementations
impl RefUnwindSafe for TypeMap
impl Send for TypeMap
impl Sync for TypeMap
impl Unpin for TypeMap
impl UnwindSafe for TypeMap
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