[−][src]Struct web_sys::WorkerNavigator
The WorkerNavigator class.
This API requires the following crate features to be activated: WorkerNavigator
Implementations
impl WorkerNavigator[src]
pub fn connection(&self) -> Result<NetworkInformation, JsValue>[src]
Getter for the connection field of this object.
This API requires the following crate features to be activated: NetworkInformation, WorkerNavigator
impl WorkerNavigator[src]
pub fn media_capabilities(&self) -> MediaCapabilities[src]
Getter for the mediaCapabilities field of this object.
This API requires the following crate features to be activated: MediaCapabilities, WorkerNavigator
impl WorkerNavigator[src]
pub fn gpu(&self) -> Gpu[src]
Getter for the gpu field of this object.
This API requires the following crate features to be activated: Gpu, WorkerNavigator
This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as
described in the wasm-bindgen guide
impl WorkerNavigator[src]
pub fn hardware_concurrency(&self) -> f64[src]
Getter for the hardwareConcurrency field of this object.
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator[src]
pub fn app_code_name(&self) -> Result<String, JsValue>[src]
Getter for the appCodeName field of this object.
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator[src]
pub fn app_name(&self) -> String[src]
Getter for the appName field of this object.
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator[src]
pub fn app_version(&self) -> Result<String, JsValue>[src]
Getter for the appVersion field of this object.
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator[src]
pub fn platform(&self) -> Result<String, JsValue>[src]
Getter for the platform field of this object.
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator[src]
pub fn user_agent(&self) -> Result<String, JsValue>[src]
Getter for the userAgent field of this object.
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator[src]
pub fn product(&self) -> String[src]
Getter for the product field of this object.
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator[src]
pub fn language(&self) -> Option<String>[src]
Getter for the language field of this object.
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator[src]
pub fn languages(&self) -> Array[src]
Getter for the languages field of this object.
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator[src]
pub fn on_line(&self) -> bool[src]
Getter for the onLine field of this object.
This API requires the following crate features to be activated: WorkerNavigator
impl WorkerNavigator[src]
pub fn storage(&self) -> StorageManager[src]
Getter for the storage field of this object.
This API requires the following crate features to be activated: StorageManager, 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
Trait Implementations
impl AsRef<JsValue> for WorkerNavigator[src]
impl AsRef<Object> for WorkerNavigator[src]
impl AsRef<WorkerNavigator> for WorkerNavigator[src]
fn as_ref(&self) -> &WorkerNavigator[src]
impl Clone for WorkerNavigator[src]
fn clone(&self) -> WorkerNavigator[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for WorkerNavigator[src]
impl Deref for WorkerNavigator[src]
impl Eq 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 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) -> 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) -> 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) -> Self::Abi[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 has_type<T>(&self) -> bool where
T: JsCast, [src]
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self> where
T: JsCast, [src]
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T> where
T: JsCast, [src]
T: JsCast,
fn unchecked_into<T>(self) -> T where
T: JsCast, [src]
T: JsCast,
fn unchecked_ref<T>(&self) -> &T where
T: JsCast, [src]
T: JsCast,
fn is_instance_of<T>(&self) -> bool where
T: JsCast, [src]
T: JsCast,
fn is_type_of(val: &JsValue) -> bool[src]
impl OptionFromWasmAbi for WorkerNavigator[src]
impl OptionIntoWasmAbi for WorkerNavigator[src]
impl<'a> OptionIntoWasmAbi for &'a WorkerNavigator[src]
impl PartialEq<WorkerNavigator> for WorkerNavigator[src]
fn eq(&self, other: &WorkerNavigator) -> bool[src]
fn ne(&self, other: &WorkerNavigator) -> bool[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) -> Self::Anchor[src]
impl StructuralEq for WorkerNavigator[src]
impl StructuralPartialEq for WorkerNavigator[src]
impl WasmDescribe for WorkerNavigator[src]
Auto Trait Implementations
impl RefUnwindSafe for WorkerNavigator
impl !Send for WorkerNavigator
impl !Sync for WorkerNavigator
impl Unpin for WorkerNavigator
impl UnwindSafe for WorkerNavigator
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi, [src]
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,