chromium/mojo/public/js/ts/bindings/tests/structs.test-mojom

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module mojo.tstest;

struct EmptyStruct {
};

struct StructMemberStruct {
  EmptyStruct empty_struct;
};

struct IntStruct {
  int8 value;
};

struct BoolStruct {
  bool value;
};

struct NoDefaultValuesStruct {
  bool bool_value;
  int8 int8_value;
  uint8 uint8_value;
  int16 int16_value;
  uint16 uint16_value;
  int32 int32_value;
  uint32 uint32_value;
  int64 int64_value;
  uint64 uint64_value;
  float float_value;
  double double_value;
  string string_value;
};