Module test_tools::prelude
source · Expand description
Prelude to use essentials: use my_module::prelude::*.
Modules
- Diagnostics tools.
- Collection of primal data types.
- Utilities for formatting and printing strings.
- Collection of tools to manipulate memory.
- Collection of general purpose meta tools.
- Collection of general purpose tools for type checking.
Macros
- Generate code only if feature::make is enabled.
- Internal impls1 macro. Don’t use.
- Asserts that a boolean expression is false at runtime.
- Asserts that two expressions are identical.
- Asserts that two expressions are not identical with each other.
- Asserts that a boolean expression is true at runtime.
- Asserts that a boolean expression is false at runtime.
- Asserts that two expressions are identical to each other (using
PartialEq). Prints nice diff. - Asserts that two expressions are not identical to each other (using
PartialEq). Prints nice diff. - Asserts that a boolean expression is true at runtime.
- Literally just a BTreeMap literal with keys and values into’d.
- Unwrap braces of token tree and pass its content to the passed callback. If token tree in not braced then it passed to callback as is.
- Literally just a BTreeSet literal with values into’d.
- Compile-time assertion that two values have the same size.
- Compile-time assertion that memory behind two references have the same size.
- Macro to compare meta condition is true at compile-time.
- Compile-time assertion of having the same align.
- Compile-time assertion that two types have the same size.
- Test a file with documentation.
- Get name of a function.
- Macro to rename function.
- Split functions.
- Split functions.
- Literally just a BinaryHeap literal with values into’d.
- Literally just a HashMap literal with keys and values into’d.
- Literally just a HashSet literal with values into’d.
- Macro which returns its input as is.
- Macro
implementsto answer the question: does it implement a trait? - Macros to put each function under a named macro to index every function in a class.
- Define implementation putting each function under a macro.
- Define implementation putting each function under a macro.
- Macros to put each function under a named macro to index every function in a class.
- Index of items.
- Macro to inspect type of a variable and its size exporting it as a string.
- Macro to inspect type of a variable and its size printing into stdout and exporting it as a string.
- Macro
instance_ofto answer the question: does it implement a trait? Alias of the macroimplements. - Macro to answer the question: is it a slice?
- Literally just a LinkedList literal with values into’d.
- Variadic constructor.
- Protocol of modularity unifying interface of a module and introducing layers.
- Required to convert integets to floats.
- Define implementation putting each function under a macro and adding attribute
#[ test ]. - Define implementation putting each function under a macro and adding attribute
#[ test ]. - Index of items.
- Type constructor to define tuple wrapping a given type.
- Literally just a VecDeque literal with values into’d.
Structs
- An ordered map based on a B-Tree.
- An ordered set based on a B-Tree.
- A priority queue implemented with a binary heap.
- A contiguous growable array type, written as
Vec<T>, short for ‘vector’. - Iterator for enumerable.
- Iterator for enumerable.
- A hash map implemented with quadratic probing and SIMD lookup.
- Type constructor to wrap pair of the same type.
- A doubly-linked list with owned nodes.
- Type constructor to wrap a vector.
- A hash map implemented with quadratic probing and SIMD lookup.
- Type constructor to wrap two types into a tuple.
- Type constructor to wrap a another type into a tuple.
- A contiguous growable array type, written as
Vec<T>, short for ‘vector’. - A double-ended queue implemented with a growable ring buffer.
Traits
- Reinterpret as array.
- Reinterpret as slice.
- Reinterpret as tuple.
- Clone as array.
- Clone as tuple.
- Has length and indexed access.
- Constructor without arguments.
- Constructor with single argument.
- Constructor with two arguments.
- Constructor with three arguments.
- Implementation of trait From to vectorize into/from.
- Implementation of trait Into to vectorize into/from.