FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IInputDevice

    trait · ferroui-base · v0.5.0

    trait IInputDevice
    

    Represents an input device: the object that turns the raw input events of the platform into routed events.

    View source

    Members

    process_raw_event

    fn process_raw_event(self: &Self, ev: &dyn IRawInputEventArgs)
    

    Processes raw event. Is called after preprocessing by the input manager.

    Source

    as_any

    fn as_any(self: &Self) -> &dyn Any
    

    The device as Any, for downcasting to the concrete device.

    Source

    as_pointer_device

    fn as_pointer_device(self: &Self) -> Option<&dyn IPointerDevice>
    

    The device as a pointer device, if it is one.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.