A macro for defining #
cfg if-else statements.
A nonpublic function that is const as long as libc_const_extern_fn
is enabled.
Implement Clone
and Copy
for an enum, as well as Debug
, Eq
, Hash
, and
PartialEq
if the extra_traits
feature is enabled.
Define an unsafe
function that is const as long as libc_const_extern_fn
is enabled.
Specify that an enum should have no traits that arenβt specified in the macro
invocation, i.e. no Clone
or Copy
.
Create an internal crate prelude with core
reexports and common types.
Implement Clone
and Copy
for a struct, as well as Debug
, Eq
, Hash
, and
PartialEq
if the extra_traits
feature is enabled.
Implement Clone
and Copy
for a struct with no extra_traits
feature.
Implement Clone
and Copy
for a tuple struct, as well as Debug
, Eq
, Hash
,
and PartialEq
if the extra_traits
feature is enabled.
Define a safe function that is const as long as libc_const_extern_fn
is enabled.