[][src]Struct web_sys::UrlSearchParams

#[repr(transparent)]pub struct UrlSearchParams { /* fields omitted */ }

The UrlSearchParams class.

MDN Documentation

This API requires the following crate features to be activated: UrlSearchParams

Methods

impl UrlSearchParams[src]

pub fn new() -> Result<UrlSearchParams, JsValue>[src]

The new UrlSearchParams(..) constructor, creating a new instance of UrlSearchParams.

MDN Documentation

This API requires the following crate features to be activated: UrlSearchParams

impl UrlSearchParams[src]

pub fn new_with_str_sequence_sequence(
    init: &JsValue
) -> Result<UrlSearchParams, JsValue>
[src]

The new UrlSearchParams(..) constructor, creating a new instance of UrlSearchParams.

MDN Documentation

This API requires the following crate features to be activated: UrlSearchParams

impl UrlSearchParams[src]

pub fn new_with_str(init: &str) -> Result<UrlSearchParams, JsValue>[src]

The new UrlSearchParams(..) constructor, creating a new instance of UrlSearchParams.

MDN Documentation

This API requires the following crate features to be activated: UrlSearchParams

impl UrlSearchParams[src]

pub fn append(&self, name: &str, value: &str)[src]

The append() method.

MDN Documentation

This API requires the following crate features to be activated: UrlSearchParams

impl UrlSearchParams[src]

pub fn delete(&self, name: &str)[src]

The delete() method.

MDN Documentation

This API requires the following crate features to be activated: UrlSearchParams

impl UrlSearchParams[src]

pub fn get(&self, name: &str) -> Option<String>[src]

The get() method.

MDN Documentation

This API requires the following crate features to be activated: UrlSearchParams

impl UrlSearchParams[src]

pub fn get_all(&self, name: &str) -> Array[src]

The getAll() method.

MDN Documentation

This API requires the following crate features to be activated: UrlSearchParams

impl UrlSearchParams[src]

pub fn has(&self, name: &str) -> bool[src]

The has() method.

MDN Documentation

This API requires the following crate features to be activated: UrlSearchParams

impl UrlSearchParams[src]

pub fn set(&self, name: &str, value: &str)[src]

The set() method.

MDN Documentation

This API requires the following crate features to be activated: UrlSearchParams

impl UrlSearchParams[src]

pub fn sort(&self) -> Result<(), JsValue>[src]

The sort() method.

MDN Documentation

This API requires the following crate features to be activated: UrlSearchParams

Trait Implementations

impl AsRef<JsValue> for UrlSearchParams[src]

impl AsRef<Object> for UrlSearchParams[src]

impl AsRef<UrlSearchParams> for UrlSearchParams[src]

impl Clone for UrlSearchParams[src]

impl Debug for UrlSearchParams[src]

impl Deref for UrlSearchParams[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for UrlSearchParams[src]

impl From<JsValue> for UrlSearchParams[src]

impl From<UrlSearchParams> for JsValue[src]

impl From<UrlSearchParams> for Object[src]

impl FromWasmAbi for UrlSearchParams[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for UrlSearchParams[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a UrlSearchParams[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for UrlSearchParams[src]

impl OptionFromWasmAbi for UrlSearchParams[src]

impl OptionIntoWasmAbi for UrlSearchParams[src]

impl<'a> OptionIntoWasmAbi for &'a UrlSearchParams[src]

impl PartialEq<UrlSearchParams> for UrlSearchParams[src]

impl RefFromWasmAbi for UrlSearchParams[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<UrlSearchParams>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl StructuralEq for UrlSearchParams[src]

impl StructuralPartialEq for UrlSearchParams[src]

impl WasmDescribe for UrlSearchParams[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.