Skip to main content

Crate tilo_platform_caps

Crate tilo_platform_caps 

Source
Expand description

What every platform crate’s capabilities share: a Feature trait that gives each feature its Availability on Linux, macOS and the web, the column for the running target, and the Unsupported error for a feature this target cannot provide.

Structs§

Unsupported

Enums§

Availability

Constants§

COLUMN
This target’s column of Feature::targets: wasm targets report the web column, native targets other than macOS report the Linux column.
WEB
Whether this build runs on the web, for portable code that offers less there (and so selects no target itself).

Traits§

Feature

Functions§

availability
available