script::dom::bindings::codegen::Bindings::URLSearchParamsBinding

Trait URLSearchParamsMethods

Source
pub(crate) trait URLSearchParamsMethods<D>
where D: DomTypes,
{ // Required methods fn Size(&self) -> u32; fn Append(&self, name: USVString, value: USVString); fn Delete(&self, name: USVString, value: Option<USVString>); fn Get(&self, name: USVString) -> Option<USVString>; fn GetAll(&self, name: USVString) -> Vec<USVString>; fn Has(&self, name: USVString, value: Option<USVString>) -> bool; fn Set(&self, name: USVString, value: USVString); fn Sort(&self); fn Stringifier(&self) -> DOMString; fn Constructor( global: &<D as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, init: USVStringSequenceSequenceOrUSVStringUSVStringRecordOrUSVString, ) -> Result<Root<Dom<<D as DomTypes>::URLSearchParams>>, Error>; }

Required Methods§

Source

fn Size(&self) -> u32

Source

fn Append(&self, name: USVString, value: USVString)

Source

fn Delete(&self, name: USVString, value: Option<USVString>)

Source

fn Get(&self, name: USVString) -> Option<USVString>

Source

fn GetAll(&self, name: USVString) -> Vec<USVString>

Source

fn Has(&self, name: USVString, value: Option<USVString>) -> bool

Source

fn Set(&self, name: USVString, value: USVString)

Source

fn Sort(&self)

Source

fn Stringifier(&self) -> DOMString

Source

fn Constructor( global: &<D as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, init: USVStringSequenceSequenceOrUSVStringUSVStringRecordOrUSVString, ) -> Result<Root<Dom<<D as DomTypes>::URLSearchParams>>, 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§