FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RawTouchEventArgs

    struct · ferroui-base · v0.5.0

    struct RawTouchEventArgs
    

    A raw touch event.

    View source

    Members

    new

    fn new(device: Rc<dyn IInputDevice>, timestamp: u64, root: Rc<dyn IInputRoot>, type_: RawPointerEventType, position: Point, input_modifiers: RawInputModifiers, raw_pointer_id: i64) -> Self
    

    Creates raw touch event args for a position in client coordinates.

    Source

    with_point

    fn with_point(device: Rc<dyn IInputDevice>, timestamp: u64, root: Rc<dyn IInputRoot>, type_: RawPointerEventType, point: RawPointerPoint, input_modifiers: RawInputModifiers, raw_pointer_id: i64) -> Self
    

    Creates raw touch event args for a raw pointer point.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ErasedDestructor
    • IntoEither
    • Deref
    • IRawInputEventArgs

    Availability

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