pub fn new(data: &'a SMBiosMemoryControllerInformation<'a>) -> Self {
        let number_of_items = data.number_of_associated_memory_slots().unwrap_or(0);
        let start_index =
            number_of_items as usize * Handle::SIZE + ModuleHandleIterator::MODULE_HANDLES_OFFSET;
        ErrorCapabilitiesIterator {
            data,
            start_index,
            current_index: start_index,
            current_entry: 0,
            number_of_items,
        }
    }
/// Creates an instance of the memory module error correcting capabilities iterator.
Creates an instance of the memory module error correcting capabilities iterator.
Creates an instance of the memory module error correcting capabilities iterator .
pub fn new(data: &'a SMBiosMemoryControllerInformation<'a>) -> Self {
        let number_of_items = data.number_of_associated_memory_slots().unwrap_or(0);
        let start_index =
            number_of_items as usize * Handle::SIZE + ModuleHandleIterator::MODULE_HANDLES_OFFSET;
        ErrorCapabilitiesIterator {
            data,
            start_index,
            current_index: start_index,
            current_entry: 0,
            number_of_items,
        }
    }
pub fn new ( data : & ' a SMBiosMemoryControllerInformation < ' a > ) -> Self { let number_of_items = data . number_of_associated_memory_slots ( ) . unwrap_or ( 0 ) ; let start_index = number_of_items as usize * Handle :: SIZE + ModuleHandleIterator :: MODULE_HANDLES_OFFSET ; ErrorCapabilitiesIterator { data , start_index , current_index : start_index , current_entry : 0 , number_of_items , } }
Creates an instance of the memory module error correcting capabilities iterator.
Creates an instance of the memory module error correcting capabilities iterator .
data
&'a SMBiosMemoryControllerInformation<'a>
data
&'a SMBiosMemoryControllerInformation<'a>