Skip to main content

WorkerNavigatorMethods

pub trait WorkerNavigatorMethods<D: DomTypes> {
Show 17 methods // Required methods fn Permissions(&self, cx: &mut JSContext) -> DomRoot<D::Permissions>; fn HardwareConcurrency(&self) -> u64; fn Gpu(&self, cx: &mut JSContext) -> DomRoot<D::GPU>; fn AppCodeName(&self) -> DOMString; fn AppName(&self) -> DOMString; fn AppVersion(&self) -> DOMString; fn Platform(&self) -> DOMString; fn Product(&self) -> DOMString; fn ProductSub(&self) -> DOMString; fn TaintEnabled(&self) -> bool; fn UserAgent(&self) -> DOMString; fn Vendor(&self) -> DOMString; fn VendorSub(&self) -> DOMString; fn Language(&self) -> DOMString; fn Languages(&self, cx: &mut JSContext, retval: MutableHandle<'_, Value>); fn OnLine(&self) -> bool; fn Storage(&self, cx: &mut JSContext) -> DomRoot<D::StorageManager>;
}

Required Methods§

Source

fn Permissions(&self, cx: &mut JSContext) -> DomRoot<D::Permissions>

Source

fn HardwareConcurrency(&self) -> u64

Source

fn Gpu(&self, cx: &mut JSContext) -> DomRoot<D::GPU>

Source

fn AppCodeName(&self) -> DOMString

Source

fn AppName(&self) -> DOMString

Source

fn AppVersion(&self) -> DOMString

Source

fn Platform(&self) -> DOMString

Source

fn Product(&self) -> DOMString

Source

fn ProductSub(&self) -> DOMString

Source

fn TaintEnabled(&self) -> bool

Source

fn UserAgent(&self) -> DOMString

Source

fn Vendor(&self) -> DOMString

Source

fn VendorSub(&self) -> DOMString

Source

fn Language(&self) -> DOMString

Source

fn Languages(&self, cx: &mut JSContext, retval: MutableHandle<'_, Value>)

Source

fn OnLine(&self) -> bool

Source

fn Storage(&self, cx: &mut JSContext) -> DomRoot<D::StorageManager>

Implementors§