ash::vk

Function ptr_chain_iter

Source
pub(crate) unsafe fn ptr_chain_iter<T: ?Sized>(
    ptr: &mut T,
) -> impl Iterator<Item = *mut BaseOutStructure<'_>>
Expand description

Iterates through the pointer chain. Includes the item that is passed into the function. Stops at the last BaseOutStructure that has a null BaseOutStructure::p_next field.