Skip to main content

Module platform

Module platform 

Source
Expand description

Platform Bridge — trait-based contracts for native platform integration.

Each platform (iOS, Android, macOS, Windows, Web) implements PlatformBridge. The consistency layer uses capability queries (not lowest-common-denominator) to enable platform-adaptive rendering.

Structs§

Color
NativeHandle
Opaque handle to a platform-native view.
PropsDiff
A diff of changed properties.
ScreenSize
TextMetrics
TextStyle

Enums§

FontWeight
PlatformCapability
PlatformError
PlatformId
PropValue
A single property value.
TextAlign
ViewType
View types the framework knows how to create.

Traits§

PlatformBridge
Every platform bridge MUST implement this trait.