[−][src]Struct web_sys::WorkerNavigator
The WorkerNavigator
object
This API requires the following crate features to be activated: WorkerNavigator
Methods
impl WorkerNavigator
[src]
pub fn connection(&self) -> Result<NetworkInformation, JsValue>
[src]
The connection
getter
This API requires the following crate features to be activated: NetworkInformation
, WorkerNavigator
impl WorkerNavigator
[src]
pub fn media_capabilities(&self) -> MediaCapabilities
[src]
The mediaCapabilities
getter
This API requires the following crate features to be activated: MediaCapabilities
, WorkerNavigator
impl WorkerNavigator
[src]
pub fn hardware_concurrency(&self) -> f64
[src]
The hardwareConcurrency
getter
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator
[src]
pub fn taint_enabled(&self) -> bool
[src]
The taintEnabled()
method
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator
[src]
pub fn app_code_name(&self) -> Result<String, JsValue>
[src]
The appCodeName
getter
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator
[src]
pub fn app_name(&self) -> String
[src]
The appName
getter
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator
[src]
pub fn app_version(&self) -> Result<String, JsValue>
[src]
The appVersion
getter
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator
[src]
pub fn platform(&self) -> Result<String, JsValue>
[src]
The platform
getter
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator
[src]
pub fn user_agent(&self) -> Result<String, JsValue>
[src]
The userAgent
getter
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator
[src]
pub fn product(&self) -> String
[src]
The product
getter
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator
[src]
pub fn language(&self) -> Option<String>
[src]
The language
getter
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator
[src]
pub fn languages(&self) -> Array
[src]
The languages
getter
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator
[src]
pub fn on_line(&self) -> bool
[src]
The onLine
getter
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator
[src]
pub fn storage(&self) -> StorageManager
[src]
The storage
getter
This API requires the following crate features to be activated: StorageManager
, WorkerNavigator
Trait Implementations
impl Clone for WorkerNavigator
[src]
fn clone(&self) -> WorkerNavigator
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl AsRef<JsValue> for WorkerNavigator
[src]
impl AsRef<Object> for WorkerNavigator
[src]
impl From<JsValue> for WorkerNavigator
[src]
fn from(obj: JsValue) -> WorkerNavigator
[src]
impl From<WorkerNavigator> for JsValue
[src]
fn from(obj: WorkerNavigator) -> JsValue
[src]
impl From<WorkerNavigator> for Object
[src]
fn from(obj: WorkerNavigator) -> Object
[src]
impl Deref for WorkerNavigator
[src]
impl Debug for WorkerNavigator
[src]
impl FromWasmAbi for WorkerNavigator
[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
unsafe fn from_abi(js: Self::Abi, extra: &mut dyn Stack) -> Self
[src]
impl IntoWasmAbi for WorkerNavigator
[src]
type Abi = <JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self, extra: &mut dyn Stack) -> Self::Abi
[src]
impl<'a> IntoWasmAbi for &'a WorkerNavigator
[src]
type Abi = <&'a JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self, extra: &mut dyn Stack) -> Self::Abi
[src]
impl WasmDescribe for WorkerNavigator
[src]
impl OptionIntoWasmAbi for WorkerNavigator
[src]
impl<'a> OptionIntoWasmAbi for &'a WorkerNavigator
[src]
impl OptionFromWasmAbi for WorkerNavigator
[src]
impl RefFromWasmAbi for WorkerNavigator
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to Self
are recovered from.
type Anchor = ManuallyDrop<WorkerNavigator>
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
unsafe fn ref_from_abi(js: Self::Abi, extra: &mut dyn Stack) -> Self::Anchor
[src]
impl JsCast for WorkerNavigator
[src]
fn instanceof(val: &JsValue) -> bool
[src]
fn unchecked_from_js(val: JsValue) -> Self
[src]
fn unchecked_from_js_ref(val: &JsValue) -> &Self
[src]
fn is_instance_of<T>(&self) -> bool where
T: JsCast,
[src]
T: JsCast,
Test whether this JS value is an instance of the type T
. Read more
fn dyn_into<T>(self) -> Result<T, Self> where
T: JsCast,
[src]
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the target type T
. Read more
fn dyn_ref<T>(&self) -> Option<&T> where
T: JsCast,
[src]
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the target type T
. Read more
fn unchecked_into<T>(self) -> T where
T: JsCast,
[src]
T: JsCast,
Performs a zero-cost unchecked cast into the specified type. Read more
fn unchecked_ref<T>(&self) -> &T where
T: JsCast,
[src]
T: JsCast,
Performs a zero-cost unchecked cast into a reference to the specified type. Read more
Auto Trait Implementations
impl !Send for WorkerNavigator
impl !Sync for WorkerNavigator
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
[src]
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi