Wrap //aos:uuid for Rust

Including conversions to the native Rust uuid crate's types.

Change-Id: Id8f87c60df4f5c9daa8ce4f72c65b376b0ec812a
Signed-off-by: Brian Silverman <bsilver16384@gmail.com>
diff --git a/aos/uuid_for_rust.h b/aos/uuid_for_rust.h
new file mode 100644
index 0000000..5bbddc8
--- /dev/null
+++ b/aos/uuid_for_rust.h
@@ -0,0 +1,20 @@
+#ifndef AOS_UUID_FOR_RUST_H_
+#define AOS_UUID_FOR_RUST_H_
+
+#include "aos/uuid.h"
+
+namespace aos {
+
+// An alternative version of UUID to feed autocxx, to work around
+// https://github.com/google/autocxx/issues/266.
+/// <div rustbindgen replaces="aos::UUID"></div>
+struct RustUUID {
+  uint8_t data[16];
+};
+
+static_assert(sizeof(UUID) == sizeof(RustUUID));
+static_assert(alignof(UUID) == alignof(RustUUID));
+
+}  // namespace aos
+
+#endif  // AOS_UUID_FOR_RUST_H_