Lines Matching defs:Box
63 rust::Box<R> c_return_box() {
65 rust::Box<Shared> box{shared}; // explicit constructor from const T&
66 rust::Box<Shared> other{std::move(shared)}; // explicit constructor from T&&
68 rust::Box<Shared> box2(*box); // copy from another Box
69 rust::Box<Shared> other2(std::move(other)); // move constructor
70 rust::Box<Shared>::in_place(shared.z); // placement static factory
71 rust::Box<Shared>::in_place<size_t>(0);
72 return rust::Box<R>::from_raw(cxx_test_suite_get_box());
256 void c_take_box(rust::Box<R> r) {
564 rust::Box<R> c_try_return_box() { return c_return_box(); }
943 template class rust::Box<tests::Shared>;