Skip to main content

nanvm_lib/vm/object/
partial_eq.rs

1use crate::vm::{IComplex, IVm, Object};
2
3impl<A: IVm> PartialEq for Object<A> {
4    fn eq(&self, other: &Self) -> bool {
5        self.0.ptr_eq(&other.0)
6    }
7}