1.4.0[][src]Module esp_idf_sys::std::prelude::v1

The core prelude

This module is intended for users of libcore which do not link to libstd as well. This module is imported by default when #![no_std] is used in the same manner as the standard library's prelude.

Enums

Option

The Option type. See the module level documentation for more.

Result

Result is a type that represents either success (Ok) or failure (Err).

Traits

AsMut

Used to do a cheap mutable-to-mutable reference conversion.

AsRef

Used to do a cheap reference-to-reference conversion.

Clone

A common trait for the ability to explicitly duplicate an object.

Copy

Types whose values can be duplicated simply by copying bits.

Default

A trait for giving a type a useful default value.

DoubleEndedIterator

An iterator able to yield elements from both ends.

Drop

Used to run some code when a value goes out of scope. This is sometimes called a 'destructor'.

Eq

Trait for equality comparisons which are equivalence relations.

ExactSizeIterator

An iterator that knows its exact length.

Extend

Extend a collection with the contents of an iterator.

Fn

The version of the call operator that takes an immutable receiver.

FnMut

The version of the call operator that takes a mutable receiver.

FnOnce

The version of the call operator that takes a by-value receiver.

From

Used to do value-to-value conversions while consuming the input value. It is the reciprocal of Into.

Into

A value-to-value conversion that consumes the input value. The opposite of From.

IntoIterator

Conversion into an Iterator.

Iterator

An interface for dealing with iterators.

Ord

Trait for types that form a total order.

PartialEq

Trait for equality comparisons which are partial equivalence relations.

PartialOrd

Trait for values that can be compared for a sort-order.

Send

Types that can be transferred across thread boundaries.

Sized

Types with a constant size known at compile time.

Sync

Types for which it is safe to share references between threads.

Unpin

Types which can be safely moved after being pinned.

Functions

drop

Disposes of a value.