pub struct WithNiche<K: NicheStabilityKind>(/* private fields */);Expand description
Marker for a type that has a niche value.
Trait Implementations§
Source§impl<K: NicheStabilityKind> Add<WithNiche<K>> for WithoutNiche
impl<K: NicheStabilityKind> Add<WithNiche<K>> for WithoutNiche
Source§impl<K: NicheStabilityKind, U: NicheStabilityKind> Add<WithNiche<U>> for WithNiche<K>
impl<K: NicheStabilityKind, U: NicheStabilityKind> Add<WithNiche<U>> for WithNiche<K>
Auto Trait Implementations§
impl<K> Freeze for WithNiche<K>where
PhantomData<K>: Freeze,
impl<K> RefUnwindSafe for WithNiche<K>where
PhantomData<K>: RefUnwindSafe,
impl<K> Send for WithNiche<K>where
PhantomData<K>: Send,
impl<K> Sync for WithNiche<K>where
PhantomData<K>: Sync,
impl<K> Unpin for WithNiche<K>where
PhantomData<K>: Unpin,
impl<K> UnsafeUnpin for WithNiche<K>where
PhantomData<K>: UnsafeUnpin,
impl<K> UnwindSafe for WithNiche<K>where
PhantomData<K>: UnwindSafe,
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
Mutably borrows from an owned value. Read more