DataFormatKind
enum · ferroui-base · v0.5.0
enum DataFormatKind
Represents the kind of a DataFormat.
Members
Application
Application = 0
The data format is specific to the application. The exact format name used internally will vary depending on the platform.
Such a format is created using
DataFormat::create_bytes_application_format
or DataFormat::create_string_application_format.
Platform
Platform = 1
The data format is specific to the current platform. Any other application using the same identifier will be able to access it.
Such a format is created using
DataFormat::create_bytes_platform_format
or DataFormat::create_string_platform_format.
Universal
Universal = 2
The data format is cross-platform and supported directly by the
framework. Such formats include DataFormat::text
and DataFormat::bitmap.
It is not possible to create such a format directly.
InProcess
InProcess = 3
The data format is only usable within the current process. It never crosses process or serialization boundaries.
Such a format is created using
DataFormat::create_in_process_format.
name
fn name(self: Self) -> &'static str
The name of the kind.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqEqHashDisplayMarkupTypedValueTypeRegistration
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.