Lines Matching refs:bridge
5 #[cxx::bridge]
16 The `extern "C++"` section of a CXX bridge declares C++ types and signatures to
20 A bridge module may contain zero or more extern "C++" blocks.
28 # #[cxx::bridge]
45 FFI bridge. For mutation support, the bridge is required to use `Pin<&mut
59 # #[cxx::bridge]
101 #[cxx::bridge]
137 #[cxx::bridge]
156 correct C++ type already exists outside of the current bridge module. This
161 #[cxx::bridge(namespace = "path::to")]
176 other uses of `MyType` within the bridge module.
190 In the following snippet, two #\[cxx::bridge\] invocations in different files
201 #[cxx::bridge(namespace = "example")]
213 #[cxx::bridge(namespace = "example")]
242 #[cxx::bridge(namespace = "folly")]
285 value, and include it in `struct`s that you have declared to `cxx::bridge`. Your
297 When reusing a binding type across multiple bridge modules as described in the
302 #[cxx::bridge]
311 // bridge, and automatically emits the right template instantiations
317 #[cxx::bridge]
334 the Rust crate hierarchy by writing `impl UniquePtr<A> {}` inside of the bridge
339 #[cxx::bridge]