Skip to main content

nanvm_lib/vm/internal/
icomplex.rs

1use crate::vm::IVm;
2
3/// A heap value: cloned by reference, compared by identity.
4pub trait IComplex<A: IVm>: Sized + Clone {
5    fn ptr_eq(&self, other: &Self) -> bool;
6}