pub struct FileInfo {Show 14 fields
pub path: PathBuf,
pub kind: FileKind,
pub subfile: String,
pub pad_amount: u32,
pub section: String,
pub linker_offset_name: String,
pub section_order: HashMap<String, String>,
pub files: Vec<FileInfo>,
pub dir: PathBuf,
pub include_if_any: Vec<(String, String)>,
pub include_if_all: Vec<(String, String)>,
pub exclude_if_any: Vec<(String, String)>,
pub exclude_if_all: Vec<(String, String)>,
pub keep_sections: KeepSections,
}Fields§
§path: PathBuf§kind: FileKind§subfile: String§pad_amount: u32§section: String§linker_offset_name: String§section_order: HashMap<String, String>§files: Vec<FileInfo>§dir: PathBuf§include_if_any: Vec<(String, String)>§include_if_all: Vec<(String, String)>§exclude_if_any: Vec<(String, String)>§exclude_if_all: Vec<(String, String)>§keep_sections: KeepSectionsImplementations§
Source§impl FileInfo
impl FileInfo
pub fn new_object(p: PathBuf) -> Self
pub fn pass_down_keep_sections(&mut self, keep_sections: &KeepSections)
Source§impl FileInfo
impl FileInfo
pub fn path_escaped( &self, rs: &RuntimeSettings, ) -> Result<EscapedPath, SlinkyError>
pub fn dir_escaped( &self, rs: &RuntimeSettings, ) -> Result<EscapedPath, SlinkyError>
Trait Implementations§
impl StructuralPartialEq for FileInfo
Auto Trait Implementations§
impl Freeze for FileInfo
impl RefUnwindSafe for FileInfo
impl Send for FileInfo
impl Sync for FileInfo
impl Unpin for FileInfo
impl UnwindSafe for FileInfo
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