Home
last modified time | relevance | path

Searched refs:Unpin (Results 1 – 14 of 14) sorted by relevance

/third_party/rust/crates/pin-utils/tests/
Dprojection.rs3 use std::marker::Unpin;
15 impl<T1: Unpin, T2> Unpin for Foo<T1, T2> {} // Conditional Unpin impl
/third_party/rust/crates/cxx/tests/ui/
Dopaque_autotraits.stderr53 …| ^^^^^^^^^^^ within `ffi::Opaque`, the trait `Unpin` is not implemented for `P…
75 10 | fn assert_unpin<T: Unpin>() {}
Dunpin_impl.rs8 impl Unpin for ffi::Opaque {}
Dopaque_autotraits.rs10 fn assert_unpin<T: Unpin>() {} in assert_unpin() argument
Drust_pinned.stderr5 | ^^^^^^ within `Pinned`, the trait `Unpin` is not implemented for `PhantomPinned`
/third_party/rust/crates/cxx/book/src/
Dextern-rust.md52 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/
Dunique_ptr.rs117 impl<T> Unpin for UniquePtr<T> where T: UniquePtrTarget {}
147 T: UniquePtrTarget + Unpin,
Dshared_ptr.rs106 impl<T> Unpin for SharedPtr<T> where T: SharedPtrTarget {}
/third_party/rust/crates/clap/src/parser/
Derror.rs59 Unpin in check_auto_traits()
/third_party/rust/crates/clap/src/error/
Dmod.rs875 static_assertions::assert_impl_all!(Error: Send, Sync, Unpin); in check_auto_traits()
/third_party/rust/crates/clap/src/parser/matches/
Darg_matches.rs1902 static_assertions::assert_impl_all!(ArgMatches: Send, Sync, Unpin); in check_auto_traits()
/third_party/rust/crates/cxx/macro/src/
Dexpand.rs438 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/
Dcommand.rs4704 static_assertions::assert_impl_all!(Command: Send, Sync, Unpin); in check_auto_traits()
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs19754 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> {