Struct windows::Foundation::Collections::IMap_Vtbl
#[repr(C)]pub struct IMap_Vtbl<K, V>where
K: RuntimeType + 'static,
V: RuntimeType + 'static,{
pub base__: IInspectable_Vtbl,
pub Lookup: unsafe extern "system" fn(_: *mut c_void, _: AbiType<K>, _: *mut AbiType<V>) -> HRESULT,
pub Size: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub HasKey: unsafe extern "system" fn(_: *mut c_void, _: AbiType<K>, _: *mut bool) -> HRESULT,
pub GetView: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub Insert: unsafe extern "system" fn(_: *mut c_void, _: AbiType<K>, _: AbiType<V>, _: *mut bool) -> HRESULT,
pub Remove: unsafe extern "system" fn(_: *mut c_void, _: AbiType<K>) -> HRESULT,
pub Clear: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub K: PhantomData<K>,
pub V: PhantomData<V>,
}
Fields§
§base__: IInspectable_Vtbl
§Lookup: unsafe extern "system" fn(_: *mut c_void, _: AbiType<K>, _: *mut AbiType<V>) -> HRESULT
§Size: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§HasKey: unsafe extern "system" fn(_: *mut c_void, _: AbiType<K>, _: *mut bool) -> HRESULT
§GetView: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§Insert: unsafe extern "system" fn(_: *mut c_void, _: AbiType<K>, _: AbiType<V>, _: *mut bool) -> HRESULT
§Remove: unsafe extern "system" fn(_: *mut c_void, _: AbiType<K>) -> HRESULT
§Clear: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§K: PhantomData<K>
§V: PhantomData<V>
Implementations§
Auto Trait Implementations§
impl<K, V> Freeze for IMap_Vtbl<K, V>
impl<K, V> RefUnwindSafe for IMap_Vtbl<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for IMap_Vtbl<K, V>
impl<K, V> Sync for IMap_Vtbl<K, V>
impl<K, V> Unpin for IMap_Vtbl<K, V>
impl<K, V> UnwindSafe for IMap_Vtbl<K, V>where
K: UnwindSafe,
V: UnwindSafe,
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