pub struct NiTMapBaseVtbl<K, V, A> {
pub CxxDrop: fn(this: *mut NiTMapBase<K, V, A>),
pub hash_function: fn(this: *const NiTMapBase<K, V, A>, key: K) -> u32,
pub key_eq: fn(this: *const NiTMapBase<K, V, A>, lhs: K, rhs: K) -> bool,
pub assign_value: fn(this: *const NiTMapBase<K, V, A>, value: *mut NiTMapItem<K, V>, key: K, mapped: V),
pub clear_value: fn(this: *mut NiTMapBase<K, V, A>, value: *mut NiTMapItem<K, V>),
pub malloc_value: fn(this: *mut NiTMapBase<K, V, A>) -> *mut NiTMapItem<K, V>,
pub free_value: fn(this: *mut NiTMapBase<K, V, A>, value: *mut NiTMapItem<K, V>),
}
Fields§
§CxxDrop: fn(this: *mut NiTMapBase<K, V, A>)
§hash_function: fn(this: *const NiTMapBase<K, V, A>, key: K) -> u32
§key_eq: fn(this: *const NiTMapBase<K, V, A>, lhs: K, rhs: K) -> bool
§assign_value: fn(this: *const NiTMapBase<K, V, A>, value: *mut NiTMapItem<K, V>, key: K, mapped: V)
§clear_value: fn(this: *mut NiTMapBase<K, V, A>, value: *mut NiTMapItem<K, V>)
§malloc_value: fn(this: *mut NiTMapBase<K, V, A>) -> *mut NiTMapItem<K, V>
§free_value: fn(this: *mut NiTMapBase<K, V, A>, value: *mut NiTMapItem<K, V>)
Auto Trait Implementations§
impl<K, V, A> Freeze for NiTMapBaseVtbl<K, V, A>
impl<K, V, A> RefUnwindSafe for NiTMapBaseVtbl<K, V, A>
impl<K, V, A> Send for NiTMapBaseVtbl<K, V, A>
impl<K, V, A> Sync for NiTMapBaseVtbl<K, V, A>
impl<K, V, A> Unpin for NiTMapBaseVtbl<K, V, A>
impl<K, V, A> UnwindSafe for NiTMapBaseVtbl<K, V, A>
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