[][src]Struct arwa::Navigator

pub struct Navigator { /* fields omitted */ }

Methods

impl Navigator[src]

pub fn language(&self) -> Option<String>[src]

pub fn geolocation(&self) -> Option<Geolocation>[src]

pub fn hardware_concurrency(&self) -> u32[src]

pub fn max_touch_points(&self) -> u32[src]

pub fn online(&self) -> bool[src]

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

pub fn register_protocol_handler(
    &self,
    protocol_handler: ProtocolHandler
) -> Result<(), RegisterProtocolHandlerError>
[src]

pub fn vibrate<T>(&self, pattern: T) -> bool where
    T: VibrationPattern
[src]

Trait Implementations

impl AsRef<Navigator> for Navigator[src]

impl From<Navigator> for Navigator[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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.