[−][src]Struct uefi::proto::console::pointer::Pointer
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
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,