Expand description

Kernel types.

C header: include/linux/types.h

Structs

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

Enums

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

Traits

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.

Functions

Creates a bit mask with a single bit set.
Returns an iterator over the set bits of value.
This documentation is an old archive. Please see https://rust.docs.kernel.org instead.