FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PlatformDataTransferImpl

    trait · ferroui-base · v0.5.0

    trait PlatformDataTransferImpl
    

    The members a platform backend provides for a PlatformDataTransfer.

    View source

    Members

    provide_formats

    fn provide_formats(self: &Self) -> Result<Vec<DataFormat>, ClipboardError>
    

    Provides the formats supported by the data transfer. Called until it succeeds: a failure is reported to the caller and not kept.

    Source

    provide_items

    fn provide_items(self: &Self) -> Result<Vec<Rc<PlatformDataTransferItem>>, ClipboardError>
    

    Provides the items of the data transfer. Called until it succeeds: a failure is reported to the caller and not kept.

    Source

    dispose

    fn dispose(self: &Self, owner: &PlatformDataTransfer)
    

    Releases the platform resources of the data transfer. owner tells whether the formats and the items have been provided.

    Source

    Availability

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