Trait script::dom::bindings::record::RecordKey

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

Required Methods§

source

fn to_utf16_vec(&self) -> Vec<u16>

source

unsafe fn from_id( cx: *mut JSContext, id: HandleId<'_>, ) -> Result<ConversionResult<Self>, ()>

Object Safety§

This trait is not object safe.

Implementors§