Searched refs:Unpin (Results 1 – 14 of 14) sorted by relevance
/third_party/rust/crates/pin-utils/tests/ |
D | projection.rs | 3 use std::marker::Unpin; 15 impl<T1: Unpin, T2> Unpin for Foo<T1, T2> {} // Conditional Unpin impl
|
/third_party/rust/crates/cxx/tests/ui/ |
D | opaque_autotraits.stderr | 53 …| ^^^^^^^^^^^ within `ffi::Opaque`, the trait `Unpin` is not implemented for `P… 75 10 | fn assert_unpin<T: Unpin>() {}
|
D | unpin_impl.rs | 8 impl Unpin for ffi::Opaque {}
|
D | opaque_autotraits.rs | 10 fn assert_unpin<T: Unpin>() {} in assert_unpin() argument
|
D | rust_pinned.stderr | 5 | ^^^^^^ within `Pinned`, the trait `Unpin` is not implemented for `PhantomPinned`
|
/third_party/rust/crates/cxx/book/src/ |
D | extern-rust.md | 52 Opaque types are currently required to be [`Sized`] and [`Unpin`]. In 57 [`Unpin`]: https://doc.rust-lang.org/std/marker/trait.Unpin.html
|
/third_party/rust/crates/cxx/src/ |
D | unique_ptr.rs | 117 impl<T> Unpin for UniquePtr<T> where T: UniquePtrTarget {} 147 T: UniquePtrTarget + Unpin,
|
D | shared_ptr.rs | 106 impl<T> Unpin for SharedPtr<T> where T: SharedPtrTarget {}
|
/third_party/rust/crates/clap/src/parser/ |
D | error.rs | 59 Unpin in check_auto_traits()
|
/third_party/rust/crates/clap/src/error/ |
D | mod.rs | 875 static_assertions::assert_impl_all!(Error: Send, Sync, Unpin); in check_auto_traits()
|
/third_party/rust/crates/clap/src/parser/matches/ |
D | arg_matches.rs | 1902 static_assertions::assert_impl_all!(ArgMatches: Send, Sync, Unpin); in check_auto_traits()
|
/third_party/rust/crates/cxx/macro/src/ |
D | expand.rs | 438 T: ?::cxx::core::marker::Sized + ::cxx::core::marker::Unpin, in expand_cxx_type_assert_pinned() 860 #begin_span cxx::core::marker::Unpin in expand_rust_type_assert_unpin()
|
/third_party/rust/crates/clap/src/builder/ |
D | command.rs | 4704 static_assertions::assert_impl_all!(Command: Send, Sync, Unpin); in check_auto_traits()
|
/third_party/rust/crates/memchr/bench/data/code/ |
D | rust-library.rs | 19754 use core::marker::{self, PhantomData, Unpin, Unsize}; 21949 impl<T: ?Sized> Unpin for Rc<T> {} 23286 use core::marker::{PhantomData, Unpin, Unsize}; 25778 impl<T: ?Sized> Unpin for Arc<T> {} 50313 use core::marker::{Unpin, Unsize}; 51814 impl<T: ?Sized, A: Allocator> Unpin for Box<T, A> where A: 'static {} 51817 impl<G: ?Sized + Generator<R> + Unpin, R, A: Allocator> Generator<R> for Box<G, A> 51843 impl<F: ?Sized + Future + Unpin, A: Allocator> Future for Box<F, A> 51855 impl<S: ?Sized + Stream + Unpin> Stream for Box<S> {
|