FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PlatformDataTransferItemImpl

    trait · ferroui-base · v0.5.0

    trait PlatformDataTransferItemImpl
    

    The members a platform backend provides for a PlatformDataTransferItem.

    View source

    Members

    provide_formats

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

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

    Source

    try_get_raw_core

    fn try_get_raw_core(self: &Self, format: &DataFormat) -> Result<Option<Rc<dyn Any>>, ClipboardError>
    

    Gets the value for a format the item supports.

    Source

    Availability

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