pub trait URLSearchParamsMethods<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: &GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        init: USVStringSequenceSequenceOrUSVStringUSVStringRecordOrUSVString,
    ) -> Result<Root<Dom<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: &GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, init: USVStringSequenceSequenceOrUSVStringUSVStringRecordOrUSVString, ) -> Result<Root<Dom<URLSearchParams>>, Error>

Object Safety§

This trait is not object safe.

Implementors§