Skip to main content

IIterator_Vtbl

Struct IIterator_Vtbl 

Source
pub struct IIterator_Vtbl<T>
where T: RuntimeType + 'static,
{ pub base__: IInspectable_Vtbl, pub Current: unsafe extern "system" fn(*mut c_void, *mut AbiType<T>) -> HRESULT, pub HasCurrent: unsafe extern "system" fn(*mut c_void, *mut bool) -> HRESULT, pub MoveNext: unsafe extern "system" fn(*mut c_void, *mut bool) -> HRESULT, pub GetMany: unsafe extern "system" fn(*mut c_void, u32, *mut AbiType<T>, *mut u32) -> HRESULT, /* private fields */ }

Fields§

§base__: IInspectable_Vtbl§Current: unsafe extern "system" fn(*mut c_void, *mut AbiType<T>) -> HRESULT§HasCurrent: unsafe extern "system" fn(*mut c_void, *mut bool) -> HRESULT§MoveNext: unsafe extern "system" fn(*mut c_void, *mut bool) -> HRESULT§GetMany: unsafe extern "system" fn(*mut c_void, u32, *mut AbiType<T>, *mut u32) -> HRESULT

Implementations§

Source§

impl<T: RuntimeType + 'static> IIterator_Vtbl<T>

Source

pub const fn new<Identity: IIterator_Impl<T>, const OFFSET: isize>() -> Self

Source

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

Auto Trait Implementations§

§

impl<T> Freeze for IIterator_Vtbl<T>
where unsafe extern "system" fn(*mut c_void, *mut <T as Type<T>>::Abi) -> HRESULT: Freeze, unsafe extern "system" fn(*mut c_void, u32, *mut <T as Type<T>>::Abi, *mut u32) -> HRESULT: Freeze, PhantomData<T>: Freeze,

§

impl<T> RefUnwindSafe for IIterator_Vtbl<T>
where unsafe extern "system" fn(*mut c_void, *mut <T as Type<T>>::Abi) -> HRESULT: RefUnwindSafe, unsafe extern "system" fn(*mut c_void, u32, *mut <T as Type<T>>::Abi, *mut u32) -> HRESULT: RefUnwindSafe, PhantomData<T>: RefUnwindSafe,

§

impl<T> Send for IIterator_Vtbl<T>
where unsafe extern "system" fn(*mut c_void, *mut <T as Type<T>>::Abi) -> HRESULT: Send, unsafe extern "system" fn(*mut c_void, u32, *mut <T as Type<T>>::Abi, *mut u32) -> HRESULT: Send, PhantomData<T>: Send,

§

impl<T> Sync for IIterator_Vtbl<T>
where unsafe extern "system" fn(*mut c_void, *mut <T as Type<T>>::Abi) -> HRESULT: Sync, unsafe extern "system" fn(*mut c_void, u32, *mut <T as Type<T>>::Abi, *mut u32) -> HRESULT: Sync, PhantomData<T>: Sync,

§

impl<T> Unpin for IIterator_Vtbl<T>
where unsafe extern "system" fn(*mut c_void, *mut <T as Type<T>>::Abi) -> HRESULT: Unpin, unsafe extern "system" fn(*mut c_void, u32, *mut <T as Type<T>>::Abi, *mut u32) -> HRESULT: Unpin, PhantomData<T>: Unpin,

§

impl<T> UnsafeUnpin for IIterator_Vtbl<T>
where unsafe extern "system" fn(*mut c_void, *mut <T as Type<T>>::Abi) -> HRESULT: UnsafeUnpin, unsafe extern "system" fn(*mut c_void, u32, *mut <T as Type<T>>::Abi, *mut u32) -> HRESULT: UnsafeUnpin, PhantomData<T>: UnsafeUnpin,

§

impl<T> UnwindSafe for IIterator_Vtbl<T>
where unsafe extern "system" fn(*mut c_void, *mut <T as Type<T>>::Abi) -> HRESULT: UnwindSafe, unsafe extern "system" fn(*mut c_void, u32, *mut <T as Type<T>>::Abi, *mut u32) -> HRESULT: UnwindSafe, PhantomData<T>: 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.