PlatformDataTransferItemImpl
trait · ferroui-base · v0.5.0
trait PlatformDataTransferItemImpl
The members a platform backend provides for a
PlatformDataTransferItem.
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.
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.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.