Method lrs::group::Information::find_by

Finds the first group that satisfies a predicate.

Syntax

impl Information {
    fn find_by<F>(pred: F) -> Result<Information, Errno>
        where F: Fn(&Info) -> bool,
}

Arguments

NameDescription
pred

The predicate.