Searched refs:get_or_try_insert (Results 1 – 3 of 3) sorted by relevance
68 pub fn get_or_try_insert<E>(&self, key: K, f: impl FnOnce(&K) -> Result<V, E>) -> Result<V, E> { in get_or_try_insert() function
176 let entry = unsafe { &mut *pools.get() }.get_or_try_insert(layout.id(), || { in allocate()501 pub fn get_or_try_insert<E>( in get_or_try_insert() method
1056 .get_or_try_insert(image_format_info, |image_format_info| { in image_format_properties_unchecked()1789 surface.surface_formats.get_or_try_insert( in surface_formats_unchecked()1973 .get_or_try_insert(self.handle, |_| { in surface_present_modes_unchecked()2065 .get_or_try_insert((self.handle, queue_family_index), |_| { in surface_support_unchecked()