Struct std::marker::PhantomPinned
1.33.0 · source · pub struct PhantomPinned;
Expand description
没有实现 Unpin
的标记类型。
如果类型包含 PhantomPinned
,则默认情况下将不实现 Unpin
。
Trait Implementations§
source§impl Clone for PhantomPinned
impl Clone for PhantomPinned
source§fn clone(&self) -> PhantomPinned
fn clone(&self) -> PhantomPinned
返回值的副本。 Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source
执行复制分配。 Read moresource§impl Debug for PhantomPinned
impl Debug for PhantomPinned
source§impl Default for PhantomPinned
impl Default for PhantomPinned
source§fn default() -> PhantomPinned
fn default() -> PhantomPinned
返回类型的 “默认值”。 Read more
source§impl Hash for PhantomPinned
impl Hash for PhantomPinned
source§impl Ord for PhantomPinned
impl Ord for PhantomPinned
source§impl PartialEq<PhantomPinned> for PhantomPinned
impl PartialEq<PhantomPinned> for PhantomPinned
source§impl PartialOrd<PhantomPinned> for PhantomPinned
impl PartialOrd<PhantomPinned> for PhantomPinned
impl Copy for PhantomPinned
impl Eq for PhantomPinned
impl StructuralEq for PhantomPinned
impl StructuralPartialEq for PhantomPinned
impl !Unpin for PhantomPinned
Auto Trait Implementations§
impl RefUnwindSafe for PhantomPinned
impl Send for PhantomPinned
impl Sync for PhantomPinned
impl UnwindSafe for PhantomPinned
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值中借用。 Read more