Trait webidl_utils::extend::ExtendRecordType

source ·
pub trait ExtendRecordType<'a> {
    // Required method
    fn new(key: RecordKeyType<'a>, value: Type<'a>) -> Self;
}
Expand description

Extension methods for RecordType

Required Methods§

source

fn new(key: RecordKeyType<'a>, value: Type<'a>) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a> ExtendRecordType<'a> for RecordType<'a>

source§

fn new(key: RecordKeyType<'a>, value: Type<'a>) -> Self

Implementors§