pub struct Export<'a> {
pub name: String,
pub info: ExportInfo<'a>,
pub size: usize,
pub offset: u64,
}
Expand description
A finalized symbolic export reconstructed from the export trie
Fields
name: String
The reconsituted export name which dyld matches against
info: ExportInfo<'a>
The export info in the node data
size: usize
How large this export is
offset: u64
The offset this symbol export is found in the binary
Implementations
sourceimpl<'a> Export<'a>
impl<'a> Export<'a>
sourcepub fn new(name: String, info: ExportInfo<'a>) -> Export<'a>
pub fn new(name: String, info: ExportInfo<'a>) -> Export<'a>
Create a new export from name
and info
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Export<'a>
impl<'a> Send for Export<'a>
impl<'a> Sync for Export<'a>
impl<'a> Unpin for Export<'a>
impl<'a> UnwindSafe for Export<'a>
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