Struct std::prelude::Option

Re-export from std::option::Option

struct Option<T> { ... }

Optional value

Optional values can either contain a value or they can be empty.

See also module-level documentation.

Example

Methods

impl Option<T> { ... }

impl Option { ... }

Protocols

Hashing algorithms.
Types that can be formatted. This is the standard way to implement custom formatting for types.

Macros

Write a formatted string into a given formatter.

Mixins

impl Option { ... }