You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -327,6 +327,7 @@ returns of functions.
327
327
<tr><td><ahref="https://docs.rs/cxx/1.0/cxx/struct.CxxString.html">CxxString</a></td><td>std::string</td><td><sup><i>cannot be passed by value</i></sup></td></tr>
328
328
<tr><td>Box<T></td><td>rust::Box<T></td><td><sup><i>cannot hold opaque C++ type</i></sup></td></tr>
329
329
<tr><td><ahref="https://docs.rs/cxx/1.0/cxx/struct.UniquePtr.html">UniquePtr<T></a></td><td>std::unique_ptr<T></td><td><sup><i>cannot hold opaque Rust type</i></sup></td></tr>
330
+
<tr><td>[T; N]</td><td>std::array<T, N></td><td><sup><i>cannot hold opaque Rust or C++ type</i></sup></td></tr>
330
331
<tr><td>Vec<T></td><td>rust::Vec<T></td><td><sup><i>cannot hold opaque C++ type</i></sup></td></tr>
331
332
<tr><td><ahref="https://docs.rs/cxx/1.0/cxx/struct.CxxVector.html">CxxVector<T></a></td><td>std::vector<T></td><td><sup><i>cannot be passed by value, cannot hold opaque Rust type</i></sup></td></tr>
332
333
<tr><td>fn(T, U) -> V</td><td>rust::Fn<V(T, U)></td><td><sup><i>only passing from Rust to C++ is implemented so far</i></sup></td></tr>
Copy file name to clipboardExpand all lines: book/src/bindings.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ returns of extern functions.
16
16
<tr><tdstyle="padding:3px6px"><b><ahref="binding/cxxstring.md">CxxString</a></b></td><tdstyle="padding:3px6px">std::string</td><tdstyle="padding:3px6px"><sup><i>cannot be passed by value</i></sup></td></tr>
17
17
<tr><tdstyle="padding:3px6px">Box<T></td><tdstyle="padding:3px6px"><b><ahref="binding/box.md">rust::Box<T></a></b></td><tdstyle="padding:3px6px"><sup><i>cannot hold opaque C++ type</i></sup></td></tr>
18
18
<tr><tdstyle="padding:3px6px"><b><ahref="binding/uniqueptr.md">UniquePtr<T></a></b></td><tdstyle="padding:3px6px">std::unique_ptr<T></td><tdstyle="padding:3px6px"><sup><i>cannot hold opaque Rust type</i></sup></td></tr>
19
+
<tr><tdstyle="padding:3px6px">[T; N]</td><tdstyle="padding:3px6px">std::array<T, N></td><tdstyle="padding:3px6px"><sup><i>cannot hold opaque Rust or C++ type</i></sup></td></tr>
19
20
<tr><tdstyle="padding:3px6px">Vec<T></td><tdstyle="padding:3px6px"><b><ahref="binding/vec.md">rust::Vec<T></a></b></td><tdstyle="padding:3px6px"><sup><i>cannot hold opaque C++ type</i></sup></td></tr>
20
21
<tr><tdstyle="padding:3px6px"><b><ahref="binding/cxxvector.md">CxxVector<T></a></b></td><tdstyle="padding:3px6px">std::vector<T></td><tdstyle="padding:3px6px"><sup><i>cannot be passed by value, cannot hold opaque Rust type</i></sup></td></tr>
21
22
<tr><tdstyle="padding:3px6px">fn(T, U) -> V</td><tdstyle="padding:3px6px"><b><ahref="binding/fn.md">rust::Fn<V(T, U)></a></b></td><tdstyle="padding:3px6px"><sup><i>only passing from Rust to C++ is implemented so far</i></sup></td></tr>
Copy file name to clipboardExpand all lines: src/lib.rs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -336,6 +336,7 @@
336
336
//! <tr><td><a href="struct.CxxString.html">CxxString</a></td><td>std::string</td><td><sup><i>cannot be passed by value</i></sup></td></tr>
337
337
//! <tr><td>Box<T></td><td>rust::Box<T></td><td><sup><i>cannot hold opaque C++ type</i></sup></td></tr>
338
338
//! <tr><td><a href="struct.UniquePtr.html">UniquePtr<T></a></td><td>std::unique_ptr<T></td><td><sup><i>cannot hold opaque Rust type</i></sup></td></tr>
339
+
//! <tr><td>[T; N]</td><td>std::array<T, N></td><td><sup><i>cannot hold opaque Rust or C++ type</i></sup></td></tr>
339
340
//! <tr><td>Vec<T></td><td>rust::Vec<T></td><td><sup><i>cannot hold opaque C++ type</i></sup></td></tr>
340
341
//! <tr><td><a href="struct.CxxVector.html">CxxVector<T></a></td><td>std::vector<T></td><td><sup><i>cannot be passed by value, cannot hold opaque Rust type</i></sup></td></tr>
341
342
//! <tr><td>fn(T, U) -> V</td><td>rust::Fn<V(T, U)></td><td><sup><i>only passing from Rust to C++ is implemented so far</i></sup></td></tr>
0 commit comments