pub struct ObjectBuilder { /* private fields */ }Expand description
Mach-O 目标文件构建器
提供高级接口来构建 Mach-O 目标文件
Implementations§
Source§impl ObjectBuilder
impl ObjectBuilder
Sourcepub fn add_load_command(self, command: LoadCommand) -> Self
pub fn add_load_command(self, command: LoadCommand) -> Self
添加加载命令
Sourcepub fn build(self) -> Result<MachoProgram, GaiaError>
pub fn build(self) -> Result<MachoProgram, GaiaError>
构建 MachoProgram
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ObjectBuilder
impl RefUnwindSafe for ObjectBuilder
impl Send for ObjectBuilder
impl Sync for ObjectBuilder
impl Unpin for ObjectBuilder
impl UnsafeUnpin for ObjectBuilder
impl UnwindSafe for ObjectBuilder
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