content: // generated by diplomat-tool
  // dart format off
  
  part of 'lib.g.dart';
  
  final class _ErrorStructFfi extends ffi.Struct {
    @ffi.Int32()
    external int i;
    @ffi.Int32()
    external int j;
  }
  
  final class ErrorStruct {
    int i;
    int j;
  
    ErrorStruct({required this.i, required this.j});
  
    // This struct contains borrowed fields, so this takes in a list of
    // "edges" corresponding to where each lifetime's data may have been borrowed from
    // and passes it down to individual fields containing the borrow.
    // This method does not attempt to handle any dependencies between lifetimes, the caller
    // should handle this when constructing edge arrays.
    // ignore: unused_element
    ErrorStruct._fromFfi(_ErrorStructFfi ffi) :
      i = ffi.i,
      j = ffi.j;
  
    // ignore: unused_element
    _ErrorStructFfi _toFfi(ffi.Allocator temp) {
      final struct = ffi.Struct.create<_ErrorStructFfi>();
      struct.i = i;
      struct.j = j;
      return struct;
    }
  
  
    @override
    bool operator ==(Object other) =>
        other is ErrorStruct &&
        other.i == i &&
        other.j == j;
  
    @override
    int get hashCode => Object.hashAll([
          i,
          j,
        ]);
  }
  
  // dart format on
  