pub struct InputFile {
pub path: PathBuf,
pub archive_entry: Option<ArchiveEntryInfo>,
pub sections: Vec<Option<Section>>,
pub temporary: bool,
}Fields§
§path: PathBufPath to the input file on disk. In case of archives, multiple inputs may have the same path.
archive_entry: Option<ArchiveEntryInfo>If the input is an archive, then contains information about where in the archive the file came from.
sections: Vec<Option<Section>>Sections that were written to the output. Indexes correspond to the sections in the input file. Contains None for sections that were discarded or weren’t fully copied.
temporary: boolThe file was a temporary file, most likely generated by a linker plugin. Absence of the file should not be treated as an error.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InputFile
impl<'de> Deserialize<'de> for InputFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for InputFile
impl StructuralPartialEq for InputFile
Auto Trait Implementations§
impl Freeze for InputFile
impl RefUnwindSafe for InputFile
impl Send for InputFile
impl Sync for InputFile
impl Unpin for InputFile
impl UnsafeUnpin for InputFile
impl UnwindSafe for InputFile
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