File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,15 @@ pub struct Cheese {
70
70
}
71
71
```
72
72
73
+ Mappings for first argument of `` soa_attr `` to the generated struct for `` Cheese `` :
74
+ * ` Vec ` => ` CheeseVec `
75
+ * ` Slice ` => ` CheeseSlice `
76
+ * ` SliceMut ` => ` CheeseSliceMut `
77
+ * ` Ref ` => ` CheeseRef `
78
+ * ` RefMut ` => ` CheeseRefMut `
79
+ * ` Ptr ` => ` CheesePtr `
80
+ * ` PtrMut ` => ` CheesePtrMut `
81
+
73
82
## Usage and API
74
83
75
84
All the generated code have some generated documentation with it, so you
Original file line number Diff line number Diff line change 71
71
//! # }
72
72
//! ```
73
73
//!
74
- //! Possible options for first argument of ``soa_attr`` attribute: `Vec`, `Slice`,
75
- //! `Ref` and `Ptr`.
74
+ //! Mappings for first argument of ``soa_attr`` to the generated struct for ``Cheese``:
75
+ //! * `Vec` => `CheeseVec`
76
+ //! * `Slice` => `CheeseSlice`
77
+ //! * `SliceMut` => `CheeseSliceMut`
78
+ //! * `Ref` => `CheeseRef`
79
+ //! * `RefMut` => `CheeseRefMut`
80
+ //! * `Ptr` => `CheesePtr`
81
+ //! * `PtrMut` => `CheesePtrMut`
76
82
//!
77
83
//! # Usage and API
78
84
//!
You can’t perform that action at this time.
0 commit comments