Crate std1.0.0 [] [src]

Modules

any

This module implements the Any trait, which enables dynamic typing of any 'static type through runtime reflection.

ascii

Operations on ASCII strings and characters.

borrow

A module for working with borrowed data.

boxed

A pointer type for heap allocation.

cell

Shareable mutable containers.

char

A character type.

clone

The Clone trait for types that cannot be 'implicitly copied'.

cmp

Functionality for ordering and comparison.

collections

Collection types.

convert

Traits for conversions between types.

default

The Default trait for types which may have meaningful default values.

error

Traits for working with Errors.

ffi

Utilities related to FFI bindings.

fmt

Utilities for formatting and printing Strings

fs

Filesystem manipulation operations.

hash

Generic hashing support.

i16

The 16-bit signed integer type.

i32

The 32-bit signed integer type.

i64

The 64-bit signed integer type.

i8

The 8-bit signed integer type.

io
isize

The pointer-sized signed integer type.

iter

Composable external iteration.

marker

Primitive traits and types representing basic properties of types.

mem

Basic functions for dealing with memory.

memchr
num

Additional functionality for numerics.

ops

Overloadable operators.

option

Optional values.

os
path

Cross-platform path manipulation.

prelude

The Rust Prelude.

process
ptr

Raw, unsafe pointers, *const T, and *mut T.

rc

Single-threaded reference-counting pointers.

result

Error handling with the Result type.

slice

A dynamically-sized view into a contiguous sequence, [T].

str

Unicode string slices.

string

A UTF-8 encoded, growable string.

sync

Synchronization primitives

time

Temporal quantification.

u16

The 16-bit unsigned integer type.

u32

The 32-bit unsigned integer type.

u64

The 64-bit unsigned integer type.

u8

The 8-bit unsigned integer type.

usize

The pointer-sized unsigned integer type.

vec

A contiguous growable array type with heap-allocated contents, written Vec<T> but pronounced 'vector.'

intrinsics [
Experimental
]

rustc compiler intrinsics.

raw [
Experimental
]

Contains struct definitions for the layout of compiler built-in types.

Macros

assert

Ensure that a boolean expression is true at runtime.

assert_eq

Asserts that two expressions are equal to each other.

assert_ne

Asserts that two expressions are not equal to each other.

debug_assert

Ensure that a boolean expression is true at runtime.

debug_assert_eq

Asserts that two expressions are equal to each other.

debug_assert_ne

Asserts that two expressions are not equal to each other.

format

Use the syntax described in std::fmt to create a value of type String. See std::fmt for more information.

panic

Entry point of thread panic, for details, see std::macros

print

Macro for printing to the standard output.

println

Macro for printing to the standard output, with a newline. On all platforms, the newline is the LINE FEED character (\n/U+000A) alone (no additional CARRIAGE RETURN (\r/U+000D).

select [
Experimental
]

A macro to select an event from a number of receivers.

try

Helper macro for reducing boilerplate code for matching Result together with converting downstream errors.

unimplemented

A standardized placeholder for marking unfinished code. It panics with the message "not yet implemented" when executed.

unreachable

A utility macro for indicating unreachable code.

vec

Creates a Vec containing the arguments.

write

Write formatted data into a buffer

writeln

Write formatted data into a buffer, with a newline appended.