pub struct FatWriter { /* private fields */ }
Expand description
Mach-O fat binary writer
Implementations§
Source§impl FatWriter
impl FatWriter
Sourcepub fn add<T: Into<Vec<u8>>>(&mut self, bytes: T) -> Result<(), Error>
pub fn add<T: Into<Vec<u8>>>(&mut self, bytes: T) -> Result<(), Error>
Add a new thin Mach-O binary
Sourcepub fn exists(&self, arch: &str) -> bool
pub fn exists(&self, arch: &str) -> bool
Check whether a certain architecture exists in this fat binary
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FatWriter
impl RefUnwindSafe for FatWriter
impl Send for FatWriter
impl Sync for FatWriter
impl Unpin for FatWriter
impl UnwindSafe for FatWriter
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