Asserts that a boolean expression is true
at runtime.
Evaluates boolean combinations of configuration flags at compile-time.
Expands to the column number at which it was invoked.
Causes compilation to fail with the given error message when encountered.
Concatenates literals into a static string slice.
Prints and returns the value of a given expression for quick and dirty
debugging.
Inspects an environment variable at compile time.
Prints to the standard error.
Prints to the standard error, with a newline.
Expands to the file name in which it was invoked.
Creates a String
using interpolation of runtime expressions.
Constructs parameters for the other string-formatting macros.
Parses a file as an expression or an item according to the context.
Includes a file as a reference to a byte array.
Includes a UTF-8 encoded file as a string.
Expands to the line number on which it was invoked.
Expands to a string that represents the current module path.
Optionally inspects an environment variable at compile time.
Prints to the standard output.
Prints to the standard output, with a newline.
Stringifies its arguments.
Creates a
Vec
containing the arguments.
Concatenates literals into a byte slice.
Concatenates identifiers into one identifier.
Unstable placeholder for deref patterns.
Prints passed tokens into the standard output.
Enables or disables tracing functionality used for debugging other macros.
Unstable placeholder for type ascription.
Used to do a cheap mutable-to-mutable reference conversion.
Used to do a cheap reference-to-reference conversion.
A common trait for the ability to explicitly duplicate an object.
Types whose values can be duplicated simply by copying bits.
A trait for giving a type a useful default value.
An iterator able to yield elements from both ends.
Custom code within the destructor.
An iterator that knows its exact length.
Extend a collection with the contents of an iterator.
The version of the call operator that takes an immutable receiver.
The version of the call operator that takes a mutable receiver.
The version of the call operator that takes a by-value receiver.
Used to do value-to-value conversions while consuming the input value. It is the reciprocal of
Into
.
A value-to-value conversion that consumes the input value. The
opposite of
From
.
A trait for dealing with iterators.
Trait for comparisons using the equality operator.
Types that can be transferred across thread boundaries.
Types with a constant size known at compile time.
Types for which it is safe to share references between threads.
A generalization of Clone
to borrowed data.
A trait for converting a value to a String
.
Types that do not require any pinning guarantees.