message: Added a comment to WasmPtr about structs.
diff: @@ -32,6 +32,31 @@ pub struct Item;
  /// derefed_ptr.set(inner_val + 1);
  /// }
  /// ```
  +///
  +/// This type can also be used with primitive-filled structs, but be careful of
  +/// guarentees required by ValueType.
  +/// ```
  +/// #[derive(Copy, Clone, Default)]
  +/// #[repr(C)]
  +/// struct V3 {
  +/// x: f32,
  +/// y: f32,
  +/// z: f32
  +/// }
  +/// // This is safe as the 12 bytes represented by this struct
  +/// // are valid for all bit combinations.
  +/// unsafe impl ValueType for V3 {
  +/// }
  +///
  +/// fn update_vector_3(memory: Memory, ptr: WasmPtr<V3>) {
  +/// let derefed_ptr = ptr.deref(&memory).expect("pointer in bounds");
  +/// let mut inner_val: V3 = derefed_ptr.get();
  +/// println!("Got {:?} from Wasm memory address 0x{:X}", inner_val, ptr.offset());
  +/// // update the value being pointed to
  +/// inner_val.x = 10.4;
  +/// derefed_ptr.set(inner_val);
  +/// }
  +/// ```
  #[repr(transparent)]
  pub struct WasmPtr<T: Copy, Ty = Item> {
  offset: u32,
  