Struct windows::Win32::System::WinRT::Metadata::IMetaDataEmit_Vtbl

#[repr(C)]
pub struct IMetaDataEmit_Vtbl {
Show 50 fields pub base__: IUnknown_Vtbl, pub SetModuleProps: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT, pub Save: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32) -> HRESULT, pub SaveToStream: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32) -> HRESULT, pub GetSaveSize: unsafe extern "system" fn(_: *mut c_void, _: CorSaveSize, _: *mut u32) -> HRESULT, pub DefineTypeDef: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: u32, _: *mut u32, _: *mut u32) -> HRESULT, pub DefineNestedType: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: u32, _: *mut u32, _: u32, _: *mut u32) -> HRESULT, pub SetHandler: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub DefineMethod: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: u32, _: *mut u8, _: u32, _: u32, _: u32, _: *mut u32) -> HRESULT, pub DefineMethodImpl: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32) -> HRESULT, pub DefineTypeRefByName: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: *mut u32) -> HRESULT, pub DefineImportType: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const c_void, _: u32, _: *mut c_void, _: u32, _: *mut c_void, _: *mut u32) -> HRESULT, pub DefineMemberRef: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: *mut u8, _: u32, _: *mut u32) -> HRESULT, pub DefineImportMember: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const c_void, _: u32, _: *mut c_void, _: u32, _: *mut c_void, _: u32, _: *mut u32) -> HRESULT, pub DefineEvent: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: u32, _: u32, _: u32, _: u32, _: u32, _: *mut u32, _: *mut u32) -> HRESULT, pub SetClassLayout: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut COR_FIELD_OFFSET, _: u32) -> HRESULT, pub DeleteClassLayout: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub SetFieldMarshal: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u8, _: u32) -> HRESULT, pub DeleteFieldMarshal: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub DefinePermissionSet: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *const c_void, _: u32, _: *mut u32) -> HRESULT, pub SetRVA: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT, pub GetTokenFromSig: unsafe extern "system" fn(_: *mut c_void, _: *mut u8, _: u32, _: *mut u32) -> HRESULT, pub DefineModuleRef: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut u32) -> HRESULT, pub SetParent: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT, pub GetTokenFromTypeSpec: unsafe extern "system" fn(_: *mut c_void, _: *mut u8, _: u32, _: *mut u32) -> HRESULT, pub SaveToMemory: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32) -> HRESULT, pub DefineUserString: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: *mut u32) -> HRESULT, pub DeleteToken: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub SetMethodProps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: u32) -> HRESULT, pub SetTypeDefProps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: *mut u32) -> HRESULT, pub SetEventProps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: u32, _: u32, _: u32, _: *mut u32) -> HRESULT, pub SetPermissionSetProps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *const c_void, _: u32, _: *mut u32) -> HRESULT, pub DefinePinvokeMap: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: PCWSTR, _: u32) -> HRESULT, pub SetPinvokeMap: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: PCWSTR, _: u32) -> HRESULT, pub DeletePinvokeMap: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub DefineCustomAttribute: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *const c_void, _: u32, _: *mut u32) -> HRESULT, pub SetCustomAttributeValue: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const c_void, _: u32) -> HRESULT, pub DefineField: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: u32, _: *mut u8, _: u32, _: u32, _: *const c_void, _: u32, _: *mut u32) -> HRESULT, pub DefineProperty: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: u32, _: *mut u8, _: u32, _: u32, _: *const c_void, _: u32, _: u32, _: u32, _: *mut u32, _: *mut u32) -> HRESULT, pub DefineParam: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: PCWSTR, _: u32, _: u32, _: *const c_void, _: u32, _: *mut u32) -> HRESULT, pub SetFieldProps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: *const c_void, _: u32) -> HRESULT, pub SetPropertyProps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: *const c_void, _: u32, _: u32, _: u32, _: *mut u32) -> HRESULT, pub SetParamProps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: u32, _: u32, _: *const c_void, _: u32) -> HRESULT, pub DefineSecurityAttributeSet: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut COR_SECATTR, _: u32, _: *mut u32) -> HRESULT, pub ApplyEditAndContinue: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub TranslateSigWithScope: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const c_void, _: u32, _: *mut c_void, _: *mut u8, _: u32, _: *mut c_void, _: *mut c_void, _: *mut u8, _: u32, _: *mut u32) -> HRESULT, pub SetMethodImplFlags: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT, pub SetFieldRVA: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT, pub Merge: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT, pub MergeEnd: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§SetModuleProps: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT§Save: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32) -> HRESULT§SaveToStream: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32) -> HRESULT§GetSaveSize: unsafe extern "system" fn(_: *mut c_void, _: CorSaveSize, _: *mut u32) -> HRESULT§DefineTypeDef: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: u32, _: *mut u32, _: *mut u32) -> HRESULT§DefineNestedType: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: u32, _: *mut u32, _: u32, _: *mut u32) -> HRESULT§SetHandler: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§DefineMethod: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: u32, _: *mut u8, _: u32, _: u32, _: u32, _: *mut u32) -> HRESULT§DefineMethodImpl: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32) -> HRESULT§DefineTypeRefByName: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: *mut u32) -> HRESULT§DefineImportType: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const c_void, _: u32, _: *mut c_void, _: u32, _: *mut c_void, _: *mut u32) -> HRESULT§DefineMemberRef: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: *mut u8, _: u32, _: *mut u32) -> HRESULT§DefineImportMember: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const c_void, _: u32, _: *mut c_void, _: u32, _: *mut c_void, _: u32, _: *mut u32) -> HRESULT§DefineEvent: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: u32, _: u32, _: u32, _: u32, _: u32, _: *mut u32, _: *mut u32) -> HRESULT§SetClassLayout: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut COR_FIELD_OFFSET, _: u32) -> HRESULT§DeleteClassLayout: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§SetFieldMarshal: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u8, _: u32) -> HRESULT§DeleteFieldMarshal: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§DefinePermissionSet: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *const c_void, _: u32, _: *mut u32) -> HRESULT§SetRVA: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT§GetTokenFromSig: unsafe extern "system" fn(_: *mut c_void, _: *mut u8, _: u32, _: *mut u32) -> HRESULT§DefineModuleRef: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut u32) -> HRESULT§SetParent: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT§GetTokenFromTypeSpec: unsafe extern "system" fn(_: *mut c_void, _: *mut u8, _: u32, _: *mut u32) -> HRESULT§SaveToMemory: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32) -> HRESULT§DefineUserString: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: *mut u32) -> HRESULT§DeleteToken: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§SetMethodProps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: u32) -> HRESULT§SetTypeDefProps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: *mut u32) -> HRESULT§SetEventProps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: u32, _: u32, _: u32, _: *mut u32) -> HRESULT§SetPermissionSetProps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *const c_void, _: u32, _: *mut u32) -> HRESULT§DefinePinvokeMap: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: PCWSTR, _: u32) -> HRESULT§SetPinvokeMap: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: PCWSTR, _: u32) -> HRESULT§DeletePinvokeMap: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§DefineCustomAttribute: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *const c_void, _: u32, _: *mut u32) -> HRESULT§SetCustomAttributeValue: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const c_void, _: u32) -> HRESULT§DefineField: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: u32, _: *mut u8, _: u32, _: u32, _: *const c_void, _: u32, _: *mut u32) -> HRESULT§DefineProperty: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: u32, _: *mut u8, _: u32, _: u32, _: *const c_void, _: u32, _: u32, _: u32, _: *mut u32, _: *mut u32) -> HRESULT§DefineParam: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: PCWSTR, _: u32, _: u32, _: *const c_void, _: u32, _: *mut u32) -> HRESULT§SetFieldProps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: *const c_void, _: u32) -> HRESULT§SetPropertyProps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: u32, _: *const c_void, _: u32, _: u32, _: u32, _: *mut u32) -> HRESULT§SetParamProps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: u32, _: u32, _: *const c_void, _: u32) -> HRESULT§DefineSecurityAttributeSet: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut COR_SECATTR, _: u32, _: *mut u32) -> HRESULT§ApplyEditAndContinue: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§TranslateSigWithScope: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const c_void, _: u32, _: *mut c_void, _: *mut u8, _: u32, _: *mut c_void, _: *mut c_void, _: *mut u8, _: u32, _: *mut u32) -> HRESULT§SetMethodImplFlags: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT§SetFieldRVA: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT§Merge: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT§MergeEnd: unsafe extern "system" fn(_: *mut c_void) -> HRESULT

Implementations§

§

impl IMetaDataEmit_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> IMetaDataEmit_Vtbl
where Identity: IMetaDataEmit_Impl + IUnknownImpl,

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

Auto Trait Implementations§

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>,

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

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

§

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.