Expand description
Rust
book lessons.
Chapter 14.
Modules§
- slices
- Slices utils.
Functions§
- get_
first_ or - Returns the contained first value or a provided default.
See:
Option::unwrap_or
- get_
first_ or_ else - Returns the contained first value or computes it from a closure.
See:
Option::unwrap_or_else
- get_
first_ or_ error - Returns the contained first
Some(value)
or a providedErr(err)
. See:Option::ok_or
- get_
first_ or_ panic - Returns the contained first value or panics with a
msg
. See:Option::expect