[][src]Struct awsm::input::PointerLock

pub struct PointerLock<'a> { /* fields omitted */ }

Methods

impl<'a> PointerLock<'a>[src]

pub fn start<F, G, H>(
    trigger: &'a Element,
    target: &'a Element,
    document: &'a Document,
    on_start: F,
    on_move: G,
    on_end: H
) -> Self where
    F: Fn(&Element) + 'static,
    G: Fn(i32, i32) + 'static,
    H: Fn() + 'static, 
[src]

Trait Implementations

impl<'a> Drop for PointerLock<'a>[src]

Auto Trait Implementations

impl<'a> !Sync for PointerLock<'a>

impl<'a> Unpin for PointerLock<'a>

impl<'a> !Send for PointerLock<'a>

impl<'a> !UnwindSafe for PointerLock<'a>

impl<'a> !RefUnwindSafe for PointerLock<'a>

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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