[−][src]Trait pui_arena::BuildArenaKey
A trait to create keys from an arena
Required methods
pub unsafe fn new_unchecked(index: usize, save: V::Save, ident: &I) -> Self
[src]
Create a new arena key given an index, version save, and identifier
Safety
index
must be in bounds of the arena with the identifierident
save
must be the latest save of slot atindex
in the arena
Implementations on Foreign Types
impl<I: OneShotIdentifier, V: Version> BuildArenaKey<I, V> for Id<I::Token>
[src]
Loading content...Implementors
impl<'scope, V: Version> BuildArenaKey<Scoped<'scope>, V> for ScopedKey<'scope, V::Save>
[src]
pub unsafe fn new_unchecked(
index: usize,
save: V::Save,
ident: &Scoped<'scope>
) -> Self
[src]
index: usize,
save: V::Save,
ident: &Scoped<'scope>
) -> Self