pub struct ListDictReader {
pub elem_dict_id: u16,
/* private fields */
}Expand description
Reader for a ListDict (lazily loaded once via OnceLock).
Fields§
§elem_dict_id: u16Implementations§
Source§impl ListDictReader
impl ListDictReader
pub fn entry_count(&self) -> u64
Sourcepub fn get_elem_slice(
&self,
backing: &Backing<'_>,
entry_idx: usize,
) -> Result<&[u32]>
pub fn get_elem_slice( &self, backing: &Backing<'_>, entry_idx: usize, ) -> Result<&[u32]>
Borrow the element ID slice directly from the lazily loaded OnceLock cache (zero allocation).
pub fn get_elem_ids( &self, backing: &Backing<'_>, entry_idx: usize, ) -> Result<Vec<u32>>
Auto Trait Implementations§
impl !Freeze for ListDictReader
impl Forget for ListDictReader
impl Move for ListDictReader
impl RefUnwindSafe for ListDictReader
impl Send for ListDictReader
impl Sync for ListDictReader
impl Unpin for ListDictReader
impl UnsafeUnpin for ListDictReaderwhere
Align4<u32>: UnsafeUnpin,
*const ArcInner<DecodedListDict> is !null: UnsafeUnpin,
PhantomData<ArcInner<DecodedListDict>>: UnsafeUnpin,
PhantomData<Arc<DecodedListDict>>: UnsafeUnpin,
impl UnwindSafe for ListDictReader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more