[−][src]Trait gluon_salsa::InternKey
Trait implemented for the "key" that results from a
#[salsa::intern]
query. This is basically meant to be a
"newtype"'d u32
.
Required methods
fn from_intern_id(v: InternId) -> Self
Create an instance of the intern-key from a u32
value.
fn as_intern_id(&self) -> InternId
Extract the u32
with which the intern-key was created.