FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PointerReleasedEventArgs

    struct · ferroui-base · v0.5.0

    struct PointerReleasedEventArgs
    

    Provides data for the pointer released event.

    View source

    Members

    new

    fn new(source: impl Into<Nullable<FerroObject>>, pointer: Rc<dyn IPointer>, root_visual: &Visual, root_visual_position: Point, timestamp: u64, properties: PointerPointProperties, modifiers: KeyModifiers, initial_press_mouse_button: MouseButton) -> Self
    

    Creates pointer released event args.

    Source

    initial_press_mouse_button

    fn initial_press_mouse_button(self: &Self) -> MouseButton
    

    The mouse button that triggered the corresponding pointer pressed event.

    Source

    Trait implementations

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

    Availability

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