pub fn find<T, P>(&'a self, predicate: P) -> Option<T>
    where
        T: SMBiosStruct<'a>,
        P: FnMut(&T) -> bool,
    {
        self.defined_struct_iter().find(predicate)
    }
/// Finds the first occurance of the structure that satisfies a predicate.
Finds the first occurance of the structure that satisfies a predicate.
Finds the first occurance of the structure that satisfies a predicate .
pub fn find<T, P>(&'a self, predicate: P) -> Option<T>
    where
        T: SMBiosStruct<'a>,
        P: FnMut(&T) -> bool,
    {
        self.defined_struct_iter().find(predicate)
    }
pub fn find < T , P > ( & ' a self , predicate : P ) -> Option < T > where T : SMBiosStruct < ' a > , P : FnMut ( & T ) -> bool , { self . defined_struct_iter ( ) . find ( predicate ) }
Finds the first occurance of the structure that satisfies a predicate.
Finds the first occurance of the structure that satisfies a predicate .
&'a self
predicate
P
&'a self
predicate
P