blob: e8d0292b7cf372f1e7602aca613b7f7cb189d19f [file] [log] [blame]
// WARNING: This file is machine generated by fidlgen.
#pragma once
#include <fidl/test.dependent/cpp/hlcpp_conversion.h>
#include <fidl/test.importedconstvalues/cpp/natural_types.h>
#include <lib/fidl/cpp/hlcpp_conversion.h>
#include <lib/fidl/llcpp/internal/transport_channel.h>
#include <test/importedconstvalues/cpp/fidl.h>
namespace fidl {
namespace internal {
template <>
struct NaturalToHLCPPTraits<::test_importedconstvalues::MyStruct> {
using HLCPPType = ::test::importedconstvalues::MyStruct;
static inline ::test::importedconstvalues::MyStruct Convert(::test_importedconstvalues::MyStruct&&);
};
template <>
struct HLCPPToNaturalTraits<::test::importedconstvalues::MyStruct> {
using NaturalType = ::test_importedconstvalues::MyStruct;
static inline ::test_importedconstvalues::MyStruct Convert(::test::importedconstvalues::MyStruct&&);
};
::test::importedconstvalues::MyStruct NaturalToHLCPPTraits<::test_importedconstvalues::MyStruct>::Convert(::test_importedconstvalues::MyStruct&& value) {
::test::importedconstvalues::MyStruct hlcpp;
hlcpp.__reserved = ::fidl::NaturalToHLCPP(std::move(value.__reserved()));
return hlcpp;
}
::test_importedconstvalues::MyStruct HLCPPToNaturalTraits<::test::importedconstvalues::MyStruct>::Convert(::test::importedconstvalues::MyStruct&& value) {
return ::test_importedconstvalues::MyStruct{{
.__reserved = ::fidl::HLCPPToNatural(std::move(value.__reserved)),
}};
}
} // namespace internal
} // namespace fidl