pub(crate) fn value_ptr_eq(vm: &mut Vm, a: &Self, b: &Self) -> Result<bool, VmError> {
        if a.limits != b.limits {
            return Ok(false);
        }

        match (&a.start, &b.start) {
            (None, None) => (),
            (Some(a), Some(b)) if Value::value_ptr_eq(vm, a, b)? => (),
            _ => return Ok(false),
        }

        match (&a.end, &b.end) {
            (None, None) => (),
            (Some(a), Some(b)) if Value::value_ptr_eq(vm, a, b)? => (),
            _ => return Ok(false),
        }

        Ok(true)
    }
/// Value pointer equals implementation for a range.
Value pointer equals implementation for a range.
Value pointer equals implementation for a range .
pub(crate) fn value_ptr_eq(vm: &mut Vm, a: &Self, b: &Self) -> Result<bool, VmError> {
        if a.limits != b.limits {
            return Ok(false);
        }
        match (&a.start, &b.start) {
            (None, None) => (),
            (Some(a), Some(b)) if Value::value_ptr_eq(vm, a, b)? => (),
            _ => return Ok(false),
        }
        match (&a.end, &b.end) {
            (None, None) => (),
            (Some(a), Some(b)) if Value::value_ptr_eq(vm, a, b)? => (),
            _ => return Ok(false),
        }
        Ok(true)
    }
pub ( crate ) fn value_ptr_eq ( vm : & mut Vm , a : & Self , b : & Self ) -> Result < bool , VmError > { if a . limits != b . limits { return Ok ( false ) ; } match ( & a . start , & b . start ) { ( None , None ) => ( ) , ( Some ( a ) , Some ( b ) ) if Value :: value_ptr_eq ( vm , a , b ) ? => ( ) , _ => return Ok ( false ) , } match ( & a . end , & b . end ) { ( None , None ) => ( ) , ( Some ( a ) , Some ( b ) ) if Value :: value_ptr_eq ( vm , a , b ) ? => ( ) , _ => return Ok ( false ) , } Ok ( true ) }
Value pointer equals implementation for a range.
Value pointer equals implementation for a range .
vm
&mut Vm
a
&Self
b
&Self
vm
&mut Vm
a
&Self
b
&Self