Trait script::dom::bindings::codegen::Bindings::URLSearchParamsBinding::URLSearchParams_Binding::URLSearchParamsMethods
source · pub trait URLSearchParamsMethods {
// 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§
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>
Object Safety§
This trait is not object safe.