FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ManagedContextDropArgs

    struct · ferroui-xaml-interactions-draganddrop · v0.5.0

    struct ManagedContextDropArgs
    

    Arguments used by managed drop handlers to describe the drop context.

    View source

    Members

    payload

    payload: Option<ferroui_base::BoxedValue>
    

    Gets or sets the payload transported by the managed drag operation.

    Source

    data_format

    data_format: Option<String>
    

    Gets or sets the data format of the payload.

    Source

    effects

    effects: ferroui_base::input::DragDropEffects
    

    Gets or sets the drag-drop effects requested by the initiator.

    Source

    origin_top_level

    origin_top_level: Option<ferroui_base::Ref<ferroui_controls::TopLevel>>
    

    Gets or sets the top-level that originated the drag.

    Source

    position

    position: ferroui_base::Point
    

    Gets or sets the pointer position local to the drop target control.

    Source

    screen_position

    screen_position: ferroui_base::PixelPoint
    

    Gets or sets the pointer position in screen pixel coordinates.

    Source

    Trait implementations

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

    Availability

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