FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IPointerDevice

    trait · ferroui-base · v0.5.0

    trait IPointerDevice: IInputDevice
    

    Represents a pointer device: a mouse, a touch surface or a pen.

    View source

    Members

    try_get_pointer

    fn try_get_pointer(self: &Self, ev: &RawPointerEventArgs) -> Option<Rc<dyn IPointer>>
    

    Gets a pointer for specific event args.

    If the pointer doesn't exist or wasn't yet created this method will return None.

    Source

    Trait implementations

    Availability

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