Expand description
Collection of primal data types
Modules
Dependencies.
Collection of primal data types.
Exposed namespace of the module.
Shared with parent namespace of the module
Prelude to use essentials: use my_module::prelude::*
.
Protected namespace of the module.
Macros
Type constructor of many.
Pair type constructor.
Type constructor of single.
Variadic constructor.
Macro for unwrapping the left side of an Either
, which fails early
with the opposite side. Can only be used in functions that return
Either
because of the early return of Right
that it provides.
Dual to try_left!
, see its documentation for more information.
Type constructor to define tuple wrapping a given type.
Structs
Type constructor to wrap pair of the same type.
Type constructor to wrap a another type into a tuple.
Type constructor to wrap two types into a tuple.
Type constructor to wrap a another type into a tuple.
Enums
The enum Either
with variants Left
and Right
is a general purpose
sum type with two cases.
Traits
Reinterpret as array.
Reinterpret as slice.
Reinterpret as tuple.
Clone as array.
Clone as tuple.
Constructor without arguments.
Constructor with single argument.
Constructor with two arguments.
Constructor with three arguments.