Trait webidl_utils::extend::ExtendPromiseType

source ·
pub trait ExtendPromiseType<'a> {
    // Required method
    fn new(ty: ReturnType<'a>) -> Self;
}
Expand description

Extension methods for PromiseType

Required Methods§

source

fn new(ty: ReturnType<'a>) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a> ExtendPromiseType<'a> for PromiseType<'a>

source§

fn new(ty: ReturnType<'a>) -> Self

Implementors§