#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "device/gamepad/public/cpp/gamepad_mojom_traits.h"
#include "base/containers/span.h"
namespace mojo {
void StructTraits<
device::mojom::GamepadQuaternionDataView,
device::GamepadQuaternion>::SetToNull(device::GamepadQuaternion* out) { … }
bool StructTraits<device::mojom::GamepadQuaternionDataView,
device::GamepadQuaternion>::
Read(device::mojom::GamepadQuaternionDataView data,
device::GamepadQuaternion* out) { … }
void StructTraits<device::mojom::GamepadVectorDataView,
device::GamepadVector>::SetToNull(device::GamepadVector*
out) { … }
bool StructTraits<device::mojom::GamepadVectorDataView, device::GamepadVector>::
Read(device::mojom::GamepadVectorDataView data,
device::GamepadVector* out) { … }
bool StructTraits<device::mojom::GamepadButtonDataView, device::GamepadButton>::
Read(device::mojom::GamepadButtonDataView data,
device::GamepadButton* out) { … }
device::mojom::GamepadHapticActuatorType
EnumTraits<device::mojom::GamepadHapticActuatorType,
device::GamepadHapticActuatorType>::
ToMojom(device::GamepadHapticActuatorType input) { … }
bool EnumTraits<device::mojom::GamepadHapticActuatorType,
device::GamepadHapticActuatorType>::
FromMojom(device::mojom::GamepadHapticActuatorType input,
device::GamepadHapticActuatorType* output) { … }
void StructTraits<device::mojom::GamepadHapticActuatorDataView,
device::GamepadHapticActuator>::
SetToNull(device::GamepadHapticActuator* out) { … }
bool StructTraits<device::mojom::GamepadHapticActuatorDataView,
device::GamepadHapticActuator>::
Read(device::mojom::GamepadHapticActuatorDataView data,
device::GamepadHapticActuator* out) { … }
bool StructTraits<device::mojom::GamepadTouchDataView, device::GamepadTouch>::
Read(device::mojom::GamepadTouchDataView data, device::GamepadTouch* out) { … }
void StructTraits<device::mojom::GamepadPoseDataView,
device::GamepadPose>::SetToNull(device::GamepadPose* out) { … }
bool StructTraits<device::mojom::GamepadPoseDataView, device::GamepadPose>::
Read(device::mojom::GamepadPoseDataView data, device::GamepadPose* out) { … }
device::mojom::GamepadMapping
EnumTraits<device::mojom::GamepadMapping, device::GamepadMapping>::ToMojom(
device::GamepadMapping input) { … }
bool EnumTraits<device::mojom::GamepadMapping, device::GamepadMapping>::
FromMojom(device::mojom::GamepadMapping input,
device::GamepadMapping* output) { … }
device::mojom::GamepadHand
EnumTraits<device::mojom::GamepadHand, device::GamepadHand>::ToMojom(
device::GamepadHand input) { … }
bool EnumTraits<device::mojom::GamepadHand, device::GamepadHand>::FromMojom(
device::mojom::GamepadHand input,
device::GamepadHand* output) { … }
base::span<const uint16_t>
StructTraits<device::mojom::GamepadDataView, device::Gamepad>::id(
const device::Gamepad& r) { … }
bool StructTraits<device::mojom::GamepadDataView, device::Gamepad>::Read(
device::mojom::GamepadDataView data,
device::Gamepad* out) { … }
}