pub trait URLPatternMethods<D: DomTypes> {
Show 13 methods // Required methods fn Test( &self, input: USVStringOrURLPatternInit, baseURL: Option<USVString>, ) -> Fallible<bool>; fn Exec( &self, input: USVStringOrURLPatternInit, baseURL: Option<USVString>, ) -> Fallible<Option<URLPatternResult>>; fn Protocol(&self) -> USVString; fn Username(&self) -> USVString; fn Password(&self) -> USVString; fn Hostname(&self) -> USVString; fn Port(&self) -> USVString; fn Pathname(&self) -> USVString; fn Search(&self) -> USVString; fn Hash(&self) -> USVString; fn HasRegExpGroups(&self) -> bool; fn Constructor( global: &D::GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, input: USVStringOrURLPatternInit, baseURL: USVString, options: &URLPatternOptions, ) -> Fallible<DomRoot<D::URLPattern>>; fn Constructor_( global: &D::GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, input: USVStringOrURLPatternInit, options: &URLPatternOptions, ) -> Fallible<DomRoot<D::URLPattern>>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§