Module beta

Module beta 

Source
Expand description

Handle beta_deftly template option, when beta cargo feature enabled

For instructions on adding a beta feature, see beta::Enabled.

This is a bit annoying. It has to be an ambient property, so that the syn Parse trait can be implemented.

Structsยง

Enabled
Token indicating that beta feature(s) are or can be enabled

Enumsยง

ThreadState ๐Ÿ”’

Constantsยง

ENABLED ๐Ÿ”’

Functionsยง

threadlocal_get ๐Ÿ”’
Workaround for LazyStatic<Cell>::get MSRV of 1.73.0.
threadlocal_set ๐Ÿ”’
with_maybe_enabled
Call f with beta features enabled or not

Type Aliasesยง

MaybeEnabled