pub fn defined_struct_iter<T>(&'a self) -> impl Iterator<Item = T> + 'a
    where
        T: SMBiosStruct<'a>,
    {
        self.iter()
            .take_while(|undefined_struct| {
                undefined_struct.header.struct_type() != SMBiosEndOfTable::STRUCT_TYPE
            })
            .filter_map(|undefined_struct| {
                if undefined_struct.header.struct_type() == T::STRUCT_TYPE {
                    Some(T::new(undefined_struct))
                } else {
                    None
                }
            })
    }
/// An iterator over the defined type instances within the table.
An iterator over the defined type instances within the table.
An iterator over the defined type instances within the table .
pub fn defined_struct_iter<T>(&'a self) -> impl Iterator<Item = T> + 'a
    where
        T: SMBiosStruct<'a>,
    {
        self.iter()
            .take_while(|undefined_struct| {
                undefined_struct.header.struct_type() != SMBiosEndOfTable::STRUCT_TYPE
            })
            .filter_map(|undefined_struct| {
                if undefined_struct.header.struct_type() == T::STRUCT_TYPE {
                    Some(T::new(undefined_struct))
                } else {
                    None
                }
            })
    }
pub fn defined_struct_iter < T > ( & ' a self ) -> impl Iterator < Item = T > + ' a where T : SMBiosStruct < ' a > , { self . iter ( ) . take_while ( | undefined_struct | { undefined_struct . header . struct_type ( ) != SMBiosEndOfTable :: STRUCT_TYPE } ) . filter_map ( | undefined_struct | { if undefined_struct . header . struct_type ( ) == T :: STRUCT_TYPE { Some ( T :: new ( undefined_struct ) ) } else { None } } ) }
An iterator over the defined type instances within the table.
An iterator over the defined type instances within the table .
&'a self
&'a self