-
Notifications
You must be signed in to change notification settings - Fork 1
学习Rust之学习图谱
-
A fixed-size array, denoted
[T; N]
, for the element type,T
, and the non-negative compile-time constant size,N
. -
The boolean type.
-
A character type.
-
The 32-bit floating point type.
-
The 64-bit floating point type.
-
Function pointers, like
fn(usize) -> bool
. -
The 128-bit signed integer type.
-
The 16-bit signed integer type.
-
The 32-bit signed integer type.
-
The 64-bit signed integer type.
-
The 8-bit signed integer type.
-
The pointer-sized signed integer type.
-
The
!
type, also called "never". -
Raw, unsafe pointers,
*const T
, and*mut T
. -
References, both shared and mutable.
-
A dynamically-sized view into a contiguous sequence,
[T]
. -
String slices.
-
A finite heterogeneous sequence,
(T, U, ..)
. -
The 128-bit unsigned integer type.
-
The 16-bit unsigned integer type.
-
The 32-bit unsigned integer type.
-
The 64-bit unsigned integer type.
-
The 8-bit unsigned integer type.
-
The
()
type, sometimes called "unit" or "nil". -
The pointer-sized unsigned integer type.
-
Memory allocation APIs
-
This module implements the
Any
trait, which enables dynamic typing of any'static
type through runtime reflection. -
SIMD and vendor intrinsics module.
-
Operations on ASCII strings and characters.
-
A module for working with borrowed data.
-
A pointer type for heap allocation.
-
Shareable mutable containers.
-
A character type.
-
The
Clone
trait for types that cannot be 'implicitly copied'. -
Functionality for ordering and comparison.
-
Collection types.
-
Traits for conversions between types.
-
The
Default
trait for types which may have meaningful default values. -
Inspection and manipulation of the process's environment.
-
Traits for working with Errors.
-
This module provides constants which are specific to the implementation of the
f32
floating point data type. -
This module provides constants which are specific to the implementation of the
f64
floating point data type. -
Utilities related to FFI bindings.
-
Utilities for formatting and printing
String
s. -
Filesystem manipulation operations.
-
Asynchronous values.
-
Generic hashing support.
-
Hints to compiler that affects how code should be emitted or optimized.
-
The 128-bit signed integer type.
-
The 16-bit signed integer type.
-
The 32-bit signed integer type.
-
The 64-bit signed integer type.
-
The 8-bit signed integer type.
-
rustc compiler intrinsics.
-
Traits, helpers, and type definitions for core I/O functionality.
-
The pointer-sized signed integer type.
-
Composable external iteration.
-
Primitive traits and types representing basic properties of types.
-
Basic functions for dealing with memory.
-
Networking primitives for TCP/UDP communication.
-
Additional functionality for numerics.
-
Overloadable operators.
-
Optional values.
-
OS-specific functionality.
-
Panic support in the standard library.
-
Cross-platform path manipulation.
-
Types which pin data to its location in memory
-
The Rust Prelude.
-
A module for working with processes.
-
Raw, unsafe pointers,
*const T
, and*mut T
. -
Contains struct definitions for the layout of compiler built-in types.
-
Single-threaded reference-counting pointers. 'Rc' stands for 'Reference Counted'.
-
Error handling with the
Result
type. -
A dynamically-sized view into a contiguous sequence,
[T]
. -
Unicode string slices.
-
A UTF-8 encoded, growable string.
-
Useful synchronization primitives.
-
Types and Traits for working with asynchronous tasks.
-
Native threads.
-
Temporal quantification.
-
The 128-bit unsigned integer type.
-
The 16-bit unsigned integer type.
-
The 32-bit unsigned integer type.
-
The 64-bit unsigned integer type.
-
The 8-bit unsigned integer type.
-
The pointer-sized unsigned integer type.
-
A contiguous growable array type with heap-allocated contents, written
Vec<T>
.
-
Ensure that a boolean expression is
true
at runtime. -
Asserts that two expressions are equal to each other (using [
PartialEq
]). -
Asserts that two expressions are not equal to each other (using [
PartialEq
]). -
Boolean evaluation of configuration flags, at compile-time.
-
A macro which expands to the column number on which it was invoked.
-
Unconditionally causes compilation to fail with the given error message when encountered.
-
Concatenates literals into a static string slice.
-
Concatenate identifiers into one identifier.
-
Ensure that a boolean expression is
true
at runtime. -
Asserts that two expressions are equal to each other.
-
Asserts that two expressions are not equal to each other.
-
Inspect an environment variable at compile time.
-
Macro for printing to the standard error.
-
Macro for printing to the standard error, with a newline.
-
A macro which expands to the file name from which it was invoked.
-
Creates a
String
using interpolation of runtime expressions. -
The core macro for formatted string creation & output.
-
Parse a file as an expression or an item according to the context.
-
Includes a file as a reference to a byte array.
-
Includes a utf8-encoded file as a string.
-
A macro to test at runtime whether a CPU feature is available on x86/x86-64 platforms.
-
A macro which expands to the line number on which it was invoked.
-
Expands to a string that represents the current module path.
-
Optionally inspect an environment variable at compile time.
-
The entry point for panic of Rust threads.
-
Macro for printing to the standard output.
-
Macro for printing to the standard output, with a newline.
-
A macro to select an event from a number of receivers.
-
A macro which stringifies its arguments.
-
Declare a new thread local storage key of type [
std::thread::LocalKey
]. -
Helper macro for reducing boilerplate code for matching
Result
together with converting downstream errors. -
A standardized placeholder for marking unfinished code.
-
A utility macro for indicating unreachable code.
-
Creates a [
Vec
] containing the arguments. -
Write formatted data into a buffer.
-
Write formatted data into a buffer, with a newline appended.
-
The Rust core allocation and collections library
-
The Rust Core Library
-
A support library for macro authors when defining new macros.
-
The Rust Standard Library
-
Support code for rustc's built in unit-test and micro-benchmarking framework.
行至水穷处,坐看云起时。
Rust 大法好呀~~~~~~~~~