Available on crate feature
unwrap
only.Expand description
Provides the ability to unwrap elements of tuples.
This module is only available when the unwrap
feature is enabled (enabled by default).
Since this module introduces the unwrap()
method that may cause panic,
you may choose to disable it to avoid. Even if you accept it, it is more recommended that you use unwrap_or_default()
or
try_unwrap()
to avoid panic.
Traits§
- Indicate that a type is a wrapper of a value and can be unwrapped into it.
- Indicate that a type is a wrapper of a value and can be unwrapped into it or the default value.