FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DataFormatKind

    enum · ferroui-base · v0.5.0

    enum DataFormatKind
    

    Represents the kind of a DataFormat.

    View source

    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.

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    name

    fn name(self: Self) -> &'static str
    

    The name of the kind.

    Source

    Trait implementations

    Availability

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