1 // Copyright 2016 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "mojo/public/cpp/bindings/tests/struct_with_traits_impl.h" 6 7 namespace mojo { 8 namespace test { 9 10 NestedStructWithTraitsImpl::NestedStructWithTraitsImpl() = default; NestedStructWithTraitsImpl(int32_t in_value)11NestedStructWithTraitsImpl::NestedStructWithTraitsImpl(int32_t in_value) 12 : value(in_value) {} 13 14 StructWithTraitsImpl::StructWithTraitsImpl() = default; 15 16 StructWithTraitsImpl::~StructWithTraitsImpl() = default; 17 18 StructWithTraitsImpl::StructWithTraitsImpl(const StructWithTraitsImpl& other) = 19 default; 20 21 MoveOnlyStructWithTraitsImpl::MoveOnlyStructWithTraitsImpl() = default; 22 23 MoveOnlyStructWithTraitsImpl::MoveOnlyStructWithTraitsImpl( 24 MoveOnlyStructWithTraitsImpl&& other) = default; 25 26 MoveOnlyStructWithTraitsImpl::~MoveOnlyStructWithTraitsImpl() = default; 27 28 MoveOnlyStructWithTraitsImpl& MoveOnlyStructWithTraitsImpl::operator=( 29 MoveOnlyStructWithTraitsImpl&& other) = default; 30 31 UnionWithTraitsInt32::~UnionWithTraitsInt32() = default; 32 33 UnionWithTraitsStruct::~UnionWithTraitsStruct() = default; 34 35 StructForceSerializeImpl::StructForceSerializeImpl() = default; 36 37 StructForceSerializeImpl::~StructForceSerializeImpl() = default; 38 39 StructNestedForceSerializeImpl::StructNestedForceSerializeImpl() = default; 40 41 StructNestedForceSerializeImpl::~StructNestedForceSerializeImpl() = default; 42 43 } // namespace test 44 } // namespace mojo 45