PlatformAsyncDataTransferImpl
trait · ferroui-base · v0.5.0
trait PlatformAsyncDataTransferImpl
The members a platform backend provides for a
PlatformAsyncDataTransfer.
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.
provide_items
fn provide_items(self: &Self) -> Result<Vec<Rc<dyn IAsyncDataTransferItem>>, ClipboardError>
Provides the items of the data transfer. Called until it succeeds: a failure is reported to the caller and not kept.
dispose
fn dispose(self: &Self, owner: &PlatformAsyncDataTransfer)
Releases the platform resources of the data transfer. owner tells
whether the formats and the items have been provided.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.