[][src]Struct web_sys::WorkerLocation

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

The WorkerLocation object

MDN Documentation

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

Methods

impl WorkerLocation[src]

pub fn href(&self) -> String[src]

The href getter

MDN Documentation

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

impl WorkerLocation[src]

pub fn origin(&self) -> String[src]

The origin getter

MDN Documentation

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

impl WorkerLocation[src]

pub fn protocol(&self) -> String[src]

The protocol getter

MDN Documentation

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

impl WorkerLocation[src]

pub fn host(&self) -> String[src]

The host getter

MDN Documentation

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

impl WorkerLocation[src]

pub fn hostname(&self) -> String[src]

The hostname getter

MDN Documentation

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

impl WorkerLocation[src]

pub fn port(&self) -> String[src]

The port getter

MDN Documentation

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

impl WorkerLocation[src]

pub fn pathname(&self) -> String[src]

The pathname getter

MDN Documentation

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

impl WorkerLocation[src]

pub fn search(&self) -> String[src]

The search getter

MDN Documentation

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

impl WorkerLocation[src]

pub fn hash(&self) -> String[src]

The hash getter

MDN Documentation

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

Trait Implementations

impl AsRef<JsValue> for WorkerLocation[src]

impl AsRef<WorkerLocation> for WorkerLocation[src]

impl AsRef<Object> for WorkerLocation[src]

impl From<JsValue> for WorkerLocation[src]

impl From<WorkerLocation> for JsValue[src]

impl From<WorkerLocation> for Object[src]

impl Clone for WorkerLocation[src]

impl Eq for WorkerLocation[src]

impl PartialEq<WorkerLocation> for WorkerLocation[src]

impl Debug for WorkerLocation[src]

impl Deref for WorkerLocation[src]

type Target = Object

The resulting type after dereferencing.

impl StructuralPartialEq for WorkerLocation[src]

impl StructuralEq for WorkerLocation[src]

impl JsCast for WorkerLocation[src]

impl RefFromWasmAbi for WorkerLocation[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<WorkerLocation>

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 FromWasmAbi for WorkerLocation[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 WorkerLocation[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 WorkerLocation[src]

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

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

impl WasmDescribe for WorkerLocation[src]

impl OptionFromWasmAbi for WorkerLocation[src]

impl OptionIntoWasmAbi for WorkerLocation[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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.

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

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

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

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

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi