Searched refs:ids (Results 1 – 1 of 1) sorted by relevance
58 ids: [T::RawType; N], field88 const unsafe fn build(ids: [(T, U); N], data_offset: Option<usize>) -> Self { in build()96 raw_ids[i] = unsafe { core::mem::transmute_copy(&ids[i].0) };111 infos[i] = MaybeUninit::new(unsafe { core::ptr::read(&ids[i].1) });115 core::mem::forget(ids);122 ids: unsafe { core::mem::transmute_copy(&raw_ids) },135 pub const fn new_without_index(ids: [(T, U); N]) -> Self { in new_without_index()138 unsafe { Self::build(ids, None) }151 pub const fn new(ids: [(T, U); N]) -> Self { in new()155 unsafe { Self::build(ids, Some(T::DRIVER_DATA_OFFSET)) }[all …]
Completed in 2 milliseconds