Expand description

Kernel types.

C header: include/linux/types.h


An owned reference to an always-reference-counted object.
A bitmask.
Represents the false value for types wth Bool bound.
Stores an opaque value.
Runs a cleanup function/closure when dropped.
Represents the true value for types with Bool bound.


A sum type that always holds either a value of type L or R.


Types that are always reference counted.
A trait for boolean types.
Used to transfer ownership to and from foreign (non-Rust) languages.
Implemented by integer types that allow counting the number of trailing zeroes.


Creates a bit mask with a single bit set.
Returns an iterator over the set bits of value.