[][src]Struct uefi::proto::console::pointer::Pointer

#[repr(C)]pub struct Pointer<'boot> { /* fields omitted */ }

Provides information about a pointer device.

Implementations

impl<'boot> Pointer<'boot>[src]

pub fn reset(&mut self, extended_verification: bool) -> Result[src]

Resets the pointer device hardware.

The extended_verification parameter is used to request that UEFI performs an extended check and reset of the input device.

Errors

  • DeviceError if the device is malfunctioning and cannot be reset.

pub fn read_state(&mut self) -> Result<Option<PointerState>>[src]

Retrieves the pointer device's current state, if a state change occured since the last time this function was called.

Use wait_for_input_event() with the BootServices::wait_for_event() interface in order to wait for input from the pointer device.

Errors

  • DeviceError if there was an issue with the pointer device.

pub fn wait_for_input_event(&self) -> Event[src]

Event to be used with BootServices::wait_for_event() in order to wait for input from the pointer device

pub fn mode(&self) -> &PointerMode[src]

Returns a reference to the pointer device information.

Trait Implementations

impl<'boot> Identify for Pointer<'boot>[src]

impl<'boot> Protocol for Pointer<'boot>[src]

impl<'boot> !Send for Pointer<'boot>[src]

impl<'boot> !Sync for Pointer<'boot>[src]

Auto Trait Implementations

impl<'boot> Unpin for Pointer<'boot>

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.