pub trait NavigatorMethods<D: DomTypes> {
Show 31 methods // Required methods fn Bluetooth(&self) -> DomRoot<D::Bluetooth>; fn Servo(&self) -> DomRoot<D::ServoInternals>; fn ServiceWorker(&self) -> DomRoot<D::ServiceWorkerContainer>; fn Permissions(&self) -> DomRoot<D::Permissions>; fn GetGamepads(&self) -> Vec<Option<DomRoot<D::Gamepad>>>; fn Clipboard(&self) -> DomRoot<D::Clipboard>; fn SendBeacon( &self, url: USVString, data: Option<ReadableStreamOrBlobOrArrayBufferViewOrArrayBufferOrFormDataOrStringOrURLSearchParams<D>>, _can_gc: CanGc, ) -> Fallible<bool>; fn MediaDevices(&self) -> DomRoot<D::MediaDevices>; fn Xr(&self) -> DomRoot<D::XRSystem>; fn MediaSession(&self) -> DomRoot<D::MediaSession>; fn Credentials(&self) -> DomRoot<D::CredentialsContainer>; fn Geolocation(&self) -> DomRoot<D::Geolocation>; fn HardwareConcurrency(&self) -> u64; fn CookieEnabled(&self) -> bool; fn Gpu(&self) -> 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: SafeJSContext, _can_gc: CanGc, retval: MutableHandleValue<'_>, ); fn OnLine(&self) -> bool; fn Plugins(&self) -> DomRoot<D::PluginArray>; fn MimeTypes(&self) -> DomRoot<D::MimeTypeArray>; fn JavaEnabled(&self) -> bool;
}

Required Methods§

Source

fn Bluetooth(&self) -> DomRoot<D::Bluetooth>

Source

fn Servo(&self) -> DomRoot<D::ServoInternals>

Source

fn ServiceWorker(&self) -> DomRoot<D::ServiceWorkerContainer>

Source

fn Permissions(&self) -> DomRoot<D::Permissions>

Source

fn GetGamepads(&self) -> Vec<Option<DomRoot<D::Gamepad>>>

Source

fn Clipboard(&self) -> DomRoot<D::Clipboard>

Source

fn SendBeacon( &self, url: USVString, data: Option<ReadableStreamOrBlobOrArrayBufferViewOrArrayBufferOrFormDataOrStringOrURLSearchParams<D>>, _can_gc: CanGc, ) -> Fallible<bool>

Source

fn MediaDevices(&self) -> DomRoot<D::MediaDevices>

Source

fn Xr(&self) -> DomRoot<D::XRSystem>

Source

fn MediaSession(&self) -> DomRoot<D::MediaSession>

Source

fn Credentials(&self) -> DomRoot<D::CredentialsContainer>

Source

fn Geolocation(&self) -> DomRoot<D::Geolocation>

Source

fn HardwareConcurrency(&self) -> u64

Source

fn CookieEnabled(&self) -> bool

Source

fn Gpu(&self) -> 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: SafeJSContext, _can_gc: CanGc, retval: MutableHandleValue<'_>, )

Source

fn OnLine(&self) -> bool

Source

fn Plugins(&self) -> DomRoot<D::PluginArray>

Source

fn MimeTypes(&self) -> DomRoot<D::MimeTypeArray>

Source

fn JavaEnabled(&self) -> bool

Implementors§