pub struct ElfFile {
pub path: PathBuf,
pub architecture: Option<String>,
}
Expand description
Helper struct for keeping track of the ELF files to convert and an optional architecture string.
Fields§
§path: PathBuf
Caller must provide a path to the ELF.
architecture: Option<String>
Callers may optionally include the target architecture for that ELF. Otherwise the architecture will be inferred from the name of the ELF file.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ElfFile
impl Send for ElfFile
impl Sync for ElfFile
impl Unpin for ElfFile
impl UnwindSafe for ElfFile
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