Skip to main content

IMapView_Vtbl

Struct IMapView_Vtbl 

Source
pub struct IMapView_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 Split: unsafe extern "system" fn(*mut c_void, *mut *mut c_void, *mut *mut c_void) -> HRESULT, /* private fields */ }

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§Split: unsafe extern "system" fn(*mut c_void, *mut *mut c_void, *mut *mut c_void) -> HRESULT

Implementations§

Source§

impl<K: RuntimeType + 'static, V: RuntimeType + 'static> IMapView_Vtbl<K, V>

Source

pub const fn new<Identity: IMapView_Impl<K, V>, const OFFSET: isize>() -> Self

Source

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

§

impl<K, V> Freeze for IMapView_Vtbl<K, V>
where unsafe extern "system" fn(*mut c_void, <K as Type<K>>::Abi, *mut <V as Type<V>>::Abi) -> HRESULT: Freeze, unsafe extern "system" fn(*mut c_void, <K as Type<K>>::Abi, *mut bool) -> HRESULT: Freeze, PhantomData<K>: Freeze, PhantomData<V>: Freeze,

§

impl<K, V> RefUnwindSafe for IMapView_Vtbl<K, V>
where unsafe extern "system" fn(*mut c_void, <K as Type<K>>::Abi, *mut <V as Type<V>>::Abi) -> HRESULT: RefUnwindSafe, unsafe extern "system" fn(*mut c_void, <K as Type<K>>::Abi, *mut bool) -> HRESULT: RefUnwindSafe, PhantomData<K>: RefUnwindSafe, PhantomData<V>: RefUnwindSafe,

§

impl<K, V> Send for IMapView_Vtbl<K, V>
where unsafe extern "system" fn(*mut c_void, <K as Type<K>>::Abi, *mut <V as Type<V>>::Abi) -> HRESULT: Send, unsafe extern "system" fn(*mut c_void, <K as Type<K>>::Abi, *mut bool) -> HRESULT: Send, PhantomData<K>: Send, PhantomData<V>: Send,

§

impl<K, V> Sync for IMapView_Vtbl<K, V>
where unsafe extern "system" fn(*mut c_void, <K as Type<K>>::Abi, *mut <V as Type<V>>::Abi) -> HRESULT: Sync, unsafe extern "system" fn(*mut c_void, <K as Type<K>>::Abi, *mut bool) -> HRESULT: Sync, PhantomData<K>: Sync, PhantomData<V>: Sync,

§

impl<K, V> Unpin for IMapView_Vtbl<K, V>
where unsafe extern "system" fn(*mut c_void, <K as Type<K>>::Abi, *mut <V as Type<V>>::Abi) -> HRESULT: Unpin, unsafe extern "system" fn(*mut c_void, <K as Type<K>>::Abi, *mut bool) -> HRESULT: Unpin, PhantomData<K>: Unpin, PhantomData<V>: Unpin,

§

impl<K, V> UnsafeUnpin for IMapView_Vtbl<K, V>
where unsafe extern "system" fn(*mut c_void, <K as Type<K>>::Abi, *mut <V as Type<V>>::Abi) -> HRESULT: UnsafeUnpin, unsafe extern "system" fn(*mut c_void, <K as Type<K>>::Abi, *mut bool) -> HRESULT: UnsafeUnpin, PhantomData<K>: UnsafeUnpin, PhantomData<V>: UnsafeUnpin,

§

impl<K, V> UnwindSafe for IMapView_Vtbl<K, V>
where unsafe extern "system" fn(*mut c_void, <K as Type<K>>::Abi, *mut <V as Type<V>>::Abi) -> HRESULT: UnwindSafe, unsafe extern "system" fn(*mut c_void, <K as Type<K>>::Abi, *mut bool) -> HRESULT: UnwindSafe, PhantomData<K>: UnwindSafe, PhantomData<V>: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.