pub trait URLPatternMethods<D>
where D: DomTypes,
{ // Required methods 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 as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, input: &URLPatternInit, options: &URLPatternOptions, ) -> Result<Root<Dom<<D as DomTypes>::URLPattern>>, Error>; }

Required Methods§

Source

fn Protocol(&self) -> USVString

Source

fn Username(&self) -> USVString

Source

fn Password(&self) -> USVString

Source

fn Hostname(&self) -> USVString

Source

fn Port(&self) -> USVString

Source

fn Pathname(&self) -> USVString

Source

fn Search(&self) -> USVString

Source

fn Hash(&self) -> USVString

Source

fn HasRegExpGroups(&self) -> bool

Source

fn Constructor( global: &<D as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, input: &URLPatternInit, options: &URLPatternOptions, ) -> Result<Root<Dom<<D as DomTypes>::URLPattern>>, Error>

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§