pub 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§
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>
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.