script::dom::bindings::codegen::Bindings::SubtleCryptoBinding

Type Alias HmacImportParams

Source
pub(crate) type HmacImportParams = HmacImportParams;

Aliased Type§

struct HmacImportParams {
    pub parent: Algorithm,
    pub hash: ObjectOrString,
    pub length: Option<u32>,
}

Fields§

§parent: Algorithm§hash: ObjectOrString§length: Option<u32>

Implementations

Trait Implementations

Source§

impl ToJSValConvertible for HmacImportParams

Source§

unsafe fn to_jsval(&self, cx: *mut JSContext, rval: MutableHandle<'_, Value>)

Convert self to a JSVal. JSAPI failure causes a panic.
Source§

impl Traceable for HmacImportParams

Source§

unsafe fn trace(&self, tracer: *mut JSTracer)

Trace self.