#[repr(i32)]pub enum DataFormatKind {
Application = 0,
Platform = 1,
Universal = 2,
InProcess = 3,
}Expand description
Represents the kind of a DataFormat.
Variants§
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 = 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 = 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 = 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.
Implementations§
Trait Implementations§
Source§impl Clone for DataFormatKind
impl Clone for DataFormatKind
impl Copy for DataFormatKind
Source§impl Debug for DataFormatKind
impl Debug for DataFormatKind
Source§impl Display for DataFormatKind
impl Display for DataFormatKind
impl Eq for DataFormatKind
Source§impl Hash for DataFormatKind
impl Hash for DataFormatKind
Source§impl MarkupTyped for DataFormatKind
impl MarkupTyped for DataFormatKind
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
Source§impl PartialEq for DataFormatKind
impl PartialEq for DataFormatKind
impl StructuralPartialEq for DataFormatKind
Auto Trait Implementations§
impl Freeze for DataFormatKind
impl RefUnwindSafe for DataFormatKind
impl Send for DataFormatKind
impl Sync for DataFormatKind
impl Unpin for DataFormatKind
impl UnsafeUnpin for DataFormatKind
impl UnwindSafe for DataFormatKind
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
affects_render, metadata
overrides). Read more