blob: 5cd3977be5a88f11997bafa0a0185fc24dc55e6a [file]
// Part of the Crubit project, under the Apache License v2.0 with LLVM
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Automatically @generated C++ bindings for the following Rust crate:
// example_crate_golden
// clang-format off
#ifndef THIRD_PARTY_CRUBIT_EXAMPLES_RUST_CPP_ENUM_EXAMPLE_CRATE_GOLDEN
#define THIRD_PARTY_CRUBIT_EXAMPLES_RUST_CPP_ENUM_EXAMPLE_CRATE_GOLDEN
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
#pragma clang diagnostic ignored "-Wunused-private-field"
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#pragma clang diagnostic ignored "-Wignored-attributes"
#include "support/annotations_internal.h"
#include "support/rs_std/traits.h"
#include <cstdint>
#include "support/rs_std/rs_core.h"
namespace example_crate {
// CRUBIT_ANNOTATE: cpp_enum=enum class
enum class CRUBIT_INTERNAL_RUST_TYPE(
":: example_crate_golden :: Color") Color : ::std::int32_t {
Red = INT32_C(0),
Blue = INT32_C(1),
Green = INT32_C(5),
Gray = INT32_C(5),
Magenta = INT32_C(7),
};
} // namespace example_crate
template <>
struct rs_std::impl<::example_crate::Color, ::rs::core::cmp::Eq> {
static constexpr bool kIsImplemented = true;
};
#pragma clang diagnostic pop
#endif // THIRD_PARTY_CRUBIT_EXAMPLES_RUST_CPP_ENUM_EXAMPLE_CRATE_GOLDEN