pub struct FatWriter { /* private fields */ }Expand description
Mach-O fat binary writer
Implementations
sourceimpl 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 RefUnwindSafe for FatWriter
impl Send for FatWriter
impl Sync for FatWriter
impl Unpin for FatWriter
impl UnwindSafe for FatWriter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more