pub struct ObjectWriteRequest<'a> {
pub code: &'a [u8],
pub sections: &'a [Section],
pub symbols: &'a [ObjectSymbol],
pub relocations: &'a [ExternalReloc],
pub target_arch: TargetArchitecture,
pub target_os: TargetOperatingSystem,
pub opts: &'a ObjectWriteOptions,
}Expand description
All data needed to write a single relocatable object file.
Passed to ObjectWriter::write_object_file so the trait method signature
stays below clippy’s argument-count threshold without losing any information.
Fields§
§code: &'a [u8]§sections: &'a [Section]§symbols: &'a [ObjectSymbol]§relocations: &'a [ExternalReloc]§target_arch: TargetArchitecture§target_os: TargetOperatingSystem§opts: &'a ObjectWriteOptionsAuto Trait Implementations§
impl<'a> Freeze for ObjectWriteRequest<'a>
impl<'a> RefUnwindSafe for ObjectWriteRequest<'a>
impl<'a> Send for ObjectWriteRequest<'a>
impl<'a> Sync for ObjectWriteRequest<'a>
impl<'a> Unpin for ObjectWriteRequest<'a>
impl<'a> UnsafeUnpin for ObjectWriteRequest<'a>
impl<'a> UnwindSafe for ObjectWriteRequest<'a>
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