RuntimePlatformInfo
struct · ferroui-base · v0.5.0
struct RuntimePlatformInfo
Information about the platform the application runs on.
Members
is_desktop
is_desktop: bool
Whether the platform is a desktop platform.
is_mobile
is_mobile: bool
Whether the platform is a mobile platform.
is_tv
is_tv: bool
Whether the platform is a TV platform.
form_factor
fn form_factor(self: &Self) -> FormFactorType
The form factor of the platform.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEqEqHashMarkupTypedValueTypeRegistration
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.