pub trait RecordKey: Eq + Hash + Sized {
fn to_utf16_vec(&self) -> Vec<u16> ⓘ;
unsafe fn from_id(
cx: *mut JSContext,
id: HandleId<'_>
) -> Result<ConversionResult<Self>, ()>;
}
pub trait RecordKey: Eq + Hash + Sized {
fn to_utf16_vec(&self) -> Vec<u16> ⓘ;
unsafe fn from_id(
cx: *mut JSContext,
id: HandleId<'_>
) -> Result<ConversionResult<Self>, ()>;
}