FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RuntimePlatformInfo

    struct · ferroui-base · v0.5.0

    struct RuntimePlatformInfo
    

    Information about the platform the application runs on.

    View source

    Members

    is_desktop

    is_desktop: bool
    

    Whether the platform is a desktop platform.

    Source

    is_mobile

    is_mobile: bool
    

    Whether the platform is a mobile platform.

    Source

    is_tv

    is_tv: bool
    

    Whether the platform is a TV platform.

    Source

    form_factor

    fn form_factor(self: &Self) -> FormFactorType
    

    The form factor of the platform.

    Source

    Trait implementations

    Availability

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