Trait ICeeGen_Impl
pub trait ICeeGen_Impl: IUnknownImpl {
Show 15 methods
// Required methods
fn EmitString(&self, lpstring: &PCWSTR, rva: *mut u32) -> Result<()>;
fn GetString(&self, rva: u32, lpstring: *mut PWSTR) -> Result<()>;
fn AllocateMethodBuffer(
&self,
cchbuffer: u32,
lpbuffer: *mut *mut u8,
rva: *mut u32,
) -> Result<()>;
fn GetMethodBuffer(&self, rva: u32, lpbuffer: *mut *mut u8) -> Result<()>;
fn GetIMapTokenIface(&self) -> Result<IUnknown>;
fn GenerateCeeFile(&self) -> Result<()>;
fn GetIlSection(&self, section: *mut *mut c_void) -> Result<()>;
fn GetStringSection(&self, section: *mut *mut c_void) -> Result<()>;
fn AddSectionReloc(
&self,
section: *mut c_void,
offset: u32,
relativeto: *mut c_void,
reloctype: CeeSectionRelocType,
) -> Result<()>;
fn GetSectionCreate(
&self,
name: &PCSTR,
flags: u32,
section: *mut *mut c_void,
) -> Result<()>;
fn GetSectionDataLen(
&self,
section: *mut c_void,
datalen: *mut u32,
) -> Result<()>;
fn GetSectionBlock(
&self,
section: *mut c_void,
len: u32,
align: u32,
ppbytes: *mut *mut c_void,
) -> Result<()>;
fn TruncateSection(&self, section: *mut c_void, len: u32) -> Result<()>;
fn GenerateCeeMemoryImage(&self, ppimage: *mut *mut c_void) -> Result<()>;
fn ComputePointer(
&self,
section: *mut c_void,
rva: u32,
lpbuffer: *mut *mut u8,
) -> Result<()>;
}
Required Methods§
fn EmitString(&self, lpstring: &PCWSTR, rva: *mut u32) -> Result<()>
fn GetString(&self, rva: u32, lpstring: *mut PWSTR) -> Result<()>
fn AllocateMethodBuffer( &self, cchbuffer: u32, lpbuffer: *mut *mut u8, rva: *mut u32, ) -> Result<()>
fn GetMethodBuffer(&self, rva: u32, lpbuffer: *mut *mut u8) -> Result<()>
fn GetIMapTokenIface(&self) -> Result<IUnknown>
fn GenerateCeeFile(&self) -> Result<()>
fn GetIlSection(&self, section: *mut *mut c_void) -> Result<()>
fn GetStringSection(&self, section: *mut *mut c_void) -> Result<()>
fn AddSectionReloc( &self, section: *mut c_void, offset: u32, relativeto: *mut c_void, reloctype: CeeSectionRelocType, ) -> Result<()>
fn GetSectionCreate( &self, name: &PCSTR, flags: u32, section: *mut *mut c_void, ) -> Result<()>
fn GetSectionDataLen( &self, section: *mut c_void, datalen: *mut u32, ) -> Result<()>
fn GetSectionBlock( &self, section: *mut c_void, len: u32, align: u32, ppbytes: *mut *mut c_void, ) -> Result<()>
fn TruncateSection(&self, section: *mut c_void, len: u32) -> Result<()>
fn GenerateCeeMemoryImage(&self, ppimage: *mut *mut c_void) -> Result<()>
fn ComputePointer( &self, section: *mut c_void, rva: u32, lpbuffer: *mut *mut u8, ) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.