first_or_optional
function · ferroui-dynamic-data · v0.5.0
fn first_or_optional<T>(source: impl IntoIterator<Item = T>, selector: impl Fn(&T) -> bool) -> Option<T>
The first item that selector accepts, or none (FirstOrOptional).
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.