docstr: equality between two structures defined by binaryblock
  
  Examples
  --------
  >>> wstr = WrapStruct()
  >>> wstr2 = WrapStruct()
  >>> wstr == wstr2
  True
  >>> wstr3 = WrapStruct(endianness=swapped_code)
  >>> wstr == wstr3
  True
docstr_tok: ["equality","between","two","structures","defined","by","binaryblock","Examples","--","--","--","--",">",">",">","wstr","=","WrapStruct","(",")",">",">",">","wstr2","=","WrapStruct","(",")",">",">",">","wstr","==","wstr2","True",">",">",">","wstr3","=","WrapStruct","(","endianness=swapped_code",")",">",">",">","wstr","==","wstr3","True"]
code: def __eq__(self, other):
      """equality between two structures defined by binaryblock
  
      Examples
      --------
      >>> wstr = WrapStruct()
      >>> wstr2 = WrapStruct()
      >>> wstr == wstr2
      True
      >>> wstr3 = WrapStruct(endianness=swapped_code)
      >>> wstr == wstr3
      True
      """
      this_end = self.endianness
      this_bb = self.binaryblock
      try:
          other_end = other.endianness
          other_bb = other.binaryblock
      except AttributeError:
          return False
      if this_end == other_end:
          return this_bb == other_bb
      other_bb = other._structarr.byteswap().tobytes()
      return this_bb == other_bb
  
imports: from __future__ import annotations
  import numpy
  from .None import imageglobals
  from .batteryrunners import BatteryRunner
  from .volumeutils import Recoder, endian_codes, native_code, pretty_mapping, swapped_code
label_desc: Use image node_id 7 for calling the WrapStruct obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown, unknown, False