pub struct DllWriter<W> { /* private fields */ }Expand description
DLL 文件写入器
Implementations§
Trait Implementations§
Source§impl<W: Write + Seek> PeWriter<W> for DllWriter<W>
impl<W: Write + Seek> PeWriter<W> for DllWriter<W>
Source§fn get_writer(&mut self) -> &mut W
fn get_writer(&mut self) -> &mut W
获取写入器的可变引用
Source§fn write_dos_header(&mut self, dos_header: &DosHeader) -> Result<(), GaiaError>
fn write_dos_header(&mut self, dos_header: &DosHeader) -> Result<(), GaiaError>
写入 DOS 头(通用实现)
Source§fn write_coff_header(
&mut self,
coff_header: &CoffHeader,
) -> Result<(), GaiaError>
fn write_coff_header( &mut self, coff_header: &CoffHeader, ) -> Result<(), GaiaError>
写入 COFF 头(通用实现)
Source§fn write_optional_header(
&mut self,
optional_header: &OptionalHeader,
) -> Result<(), GaiaError>
fn write_optional_header( &mut self, optional_header: &OptionalHeader, ) -> Result<(), GaiaError>
写入可选头(通用实现)
Source§fn write_data_directory(
&mut self,
data_dir: &DataDirectory,
) -> Result<(), GaiaError>
fn write_data_directory( &mut self, data_dir: &DataDirectory, ) -> Result<(), GaiaError>
写入数据目录(通用实现)
Auto Trait Implementations§
impl<W> Freeze for DllWriter<W>where
W: Freeze,
impl<W> RefUnwindSafe for DllWriter<W>where
W: RefUnwindSafe,
impl<W> Send for DllWriter<W>where
W: Send,
impl<W> Sync for DllWriter<W>where
W: Sync,
impl<W> Unpin for DllWriter<W>where
W: Unpin,
impl<W> UnwindSafe for DllWriter<W>where
W: 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