pub struct ScopeThere<Prev>(/* private fields */);Expand description
Proof that an item is further down a type-level list, at the position
Prev proves for the tail.
Trait Implementations§
Source§impl<Prev> Clone for ScopeThere<Prev>
impl<Prev> Clone for ScopeThere<Prev>
impl<Prev> Copy for ScopeThere<Prev>
Source§impl<Prev> Debug for ScopeThere<Prev>
impl<Prev> Debug for ScopeThere<Prev>
Source§impl<Prev> Default for ScopeThere<Prev>
impl<Prev> Default for ScopeThere<Prev>
impl<Head, Tail, T, Witness> ListContains<T, ScopeThere<Witness>> for Cons<Head, Tail>where
Tail: ListContains<T, Witness>,
Source§impl<Tag, Head, Tail, Witness> ScopeContains<AliasKey<Tag>, ScopeThere<Witness>> for Cons<Head, Tail>where
Tail: ScopeContains<AliasKey<Tag>, Witness>,
impl<Tag, Head, Tail, Witness> ScopeContains<AliasKey<Tag>, ScopeThere<Witness>> for Cons<Head, Tail>where
Tail: ScopeContains<AliasKey<Tag>, Witness>,
Auto Trait Implementations§
impl<Prev> Freeze for ScopeThere<Prev>where
PhantomData<Prev>: Freeze,
impl<Prev> RefUnwindSafe for ScopeThere<Prev>where
PhantomData<Prev>: RefUnwindSafe,
impl<Prev> Send for ScopeThere<Prev>where
PhantomData<Prev>: Send,
impl<Prev> Sync for ScopeThere<Prev>where
PhantomData<Prev>: Sync,
impl<Prev> Unpin for ScopeThere<Prev>where
PhantomData<Prev>: Unpin,
impl<Prev> UnsafeUnpin for ScopeThere<Prev>where
PhantomData<Prev>: UnsafeUnpin,
impl<Prev> UnwindSafe for ScopeThere<Prev>where
PhantomData<Prev>: 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