[][src]Struct pui_arena::scoped::ScopedKey

#[repr(transparent)]pub struct ScopedKey<'scope, V>(pub Key<Id<ScopedToken<'scope>>, V>);

A key into scoped arenas

This type only exists to make error messages easier to parse

Trait Implementations

impl<'scope, V: Version> ArenaKey<Scoped<'scope>, V> for ScopedKey<'scope, V::Save>[src]

impl<'scope, V> AsMut<Key<Id<ScopedToken<'scope>>, V>> for ScopedKey<'scope, V>[src]

impl<'scope, V> AsMut<ScopedKey<'scope, V>> for Key<Id<ScopedToken<'scope>>, V>[src]

impl<'scope, V> AsRef<Key<Id<ScopedToken<'scope>>, V>> for ScopedKey<'scope, V>[src]

impl<'scope, V> AsRef<ScopedKey<'scope, V>> for Key<Id<ScopedToken<'scope>>, V>[src]

impl<'scope, V> Borrow<Key<Id<ScopedToken<'scope>>, V>> for ScopedKey<'scope, V>[src]

impl<'scope, V> Borrow<ScopedKey<'scope, V>> for Key<Id<ScopedToken<'scope>>, V>[src]

impl<'scope, V> BorrowMut<Key<Id<ScopedToken<'scope>>, V>> for ScopedKey<'scope, V>[src]

impl<'scope, V> BorrowMut<ScopedKey<'scope, V>> for Key<Id<ScopedToken<'scope>>, V>[src]

impl<'scope, V: Version> BuildArenaKey<Scoped<'scope>, V> for ScopedKey<'scope, V::Save>[src]

impl<'scope, V: Clone> Clone for ScopedKey<'scope, V>[src]

impl<'scope, V: Copy> Copy for ScopedKey<'scope, V>[src]

impl<'scope, V: Debug> Debug for ScopedKey<'scope, V>[src]

impl<'scope, V: Eq> Eq for ScopedKey<'scope, V>[src]

impl<'scope, V> From<Key<Id<ScopedToken<'scope>>, V>> for ScopedKey<'scope, V>[src]

impl<'scope, V> From<ScopedKey<'scope, V>> for Key<Id<ScopedToken<'scope>>, V>[src]

impl<'scope, V: Hash> Hash for ScopedKey<'scope, V>[src]

impl<'scope, T, V: Version> Index<ScopedKey<'scope, <V as Version>::Save>> for ScopedArena<'scope, T, V>[src]

type Output = T

The returned type after indexing.

impl<'scope, T, V: Version> Index<ScopedKey<'scope, <V as Version>::Save>> for ScopedArena<'scope, T, V>[src]

type Output = T

The returned type after indexing.

impl<'scope, T, V: Version> Index<ScopedKey<'scope, <V as Version>::Save>> for ScopedArena<'scope, T, V>[src]

type Output = T

The returned type after indexing.

impl<'scope, T, V: Version> IndexMut<ScopedKey<'scope, <V as Version>::Save>> for ScopedArena<'scope, T, V>[src]

impl<'scope, T, V: Version> IndexMut<ScopedKey<'scope, <V as Version>::Save>> for ScopedArena<'scope, T, V>[src]

impl<'scope, T, V: Version> IndexMut<ScopedKey<'scope, <V as Version>::Save>> for ScopedArena<'scope, T, V>[src]

impl<'scope, V: Ord> Ord for ScopedKey<'scope, V>[src]

impl<'scope, V: PartialEq> PartialEq<ScopedKey<'scope, V>> for ScopedKey<'scope, V>[src]

impl<'scope, V: PartialOrd> PartialOrd<ScopedKey<'scope, V>> for ScopedKey<'scope, V>[src]

impl<'scope, V> StructuralEq for ScopedKey<'scope, V>[src]

impl<'scope, V> StructuralPartialEq for ScopedKey<'scope, V>[src]

Auto Trait Implementations

impl<'scope, V> Send for ScopedKey<'scope, V> where
    V: Send
[src]

impl<'scope, V> Sync for ScopedKey<'scope, V> where
    V: Sync
[src]

impl<'scope, V> Unpin for ScopedKey<'scope, V> where
    V: Unpin
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.