#[repr(C)]pub struct OwnerIndexEntry {
pub hash: u64,
pub owner_path_offset: u32,
pub def_index: u32,
}Expand description
Definition owner index entry for fast lookup of methods, fields, and associated items by owner.
Fields§
§hash: u6464-bit FNV-1a hash of the canonical owner path (e.g. “tokio::fs::File”)
owner_path_offset: u32Offset in string pool for the canonical owner path
def_index: u32Index into definitions table
Implementations§
Trait Implementations§
Source§impl Clone for OwnerIndexEntry
impl Clone for OwnerIndexEntry
impl Copy for OwnerIndexEntry
Source§impl Debug for OwnerIndexEntry
impl Debug for OwnerIndexEntry
Source§impl Default for OwnerIndexEntry
impl Default for OwnerIndexEntry
impl Eq for OwnerIndexEntry
Source§impl PartialEq for OwnerIndexEntry
impl PartialEq for OwnerIndexEntry
impl StructuralPartialEq for OwnerIndexEntry
Auto Trait Implementations§
impl Forget for OwnerIndexEntry
impl Freeze for OwnerIndexEntry
impl Move for OwnerIndexEntry
impl RefUnwindSafe for OwnerIndexEntry
impl Send for OwnerIndexEntry
impl Sync for OwnerIndexEntry
impl Unpin for OwnerIndexEntry
impl UnsafeUnpin for OwnerIndexEntry
impl UnwindSafe for OwnerIndexEntry
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