Struct rustc_codegen_ssa::back::archive::ArArchiveBuilder
source · pub struct ArArchiveBuilder<'a> {
sess: &'a Session,
get_object_symbols: fn(buf: &[u8], f: &mut dyn FnMut(&[u8]) -> Result<()>) -> Result<bool>,
src_archives: Vec<(PathBuf, Mmap)>,
entries: Vec<(Vec<u8>, ArchiveEntry)>,
}
Fields§
§sess: &'a Session
§get_object_symbols: fn(buf: &[u8], f: &mut dyn FnMut(&[u8]) -> Result<()>) -> Result<bool>
§src_archives: Vec<(PathBuf, Mmap)>
§entries: Vec<(Vec<u8>, ArchiveEntry)>
Implementations§
source§impl<'a> ArArchiveBuilder<'a>
impl<'a> ArArchiveBuilder<'a>
source§impl<'a> ArArchiveBuilder<'a>
impl<'a> ArArchiveBuilder<'a>
fn build_inner(self, output: &Path) -> Result<bool>
Trait Implementations§
source§impl<'a> ArchiveBuilder<'a> for ArArchiveBuilder<'a>
impl<'a> ArchiveBuilder<'a> for ArArchiveBuilder<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ArArchiveBuilder<'a>
impl<'a> !Send for ArArchiveBuilder<'a>
impl<'a> !Sync for ArArchiveBuilder<'a>
impl<'a> Unpin for ArArchiveBuilder<'a>
impl<'a> !UnwindSafe for ArArchiveBuilder<'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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 64 bytes