pub enum StuffItInputNode {
File(StuffItInput),
Folder {
name: String,
finder_flags: u16,
create_date: u32,
mod_date: u32,
children: Vec<StuffItInputNode>,
},
}Expand description
A node in a StuffIt input tree — either a file or a folder containing
further nodes. Used by build_archive_tree to emit nested directory
structures via the START_FOLDER (0x20) / END_FOLDER (0x21) marker
entries that classic StuffIt uses for hierarchy.
Variants§
File(StuffItInput)
Folder
Trait Implementations§
Source§impl Clone for StuffItInputNode
impl Clone for StuffItInputNode
Auto Trait Implementations§
impl Freeze for StuffItInputNode
impl RefUnwindSafe for StuffItInputNode
impl Send for StuffItInputNode
impl Sync for StuffItInputNode
impl Unpin for StuffItInputNode
impl UnsafeUnpin for StuffItInputNode
impl UnwindSafe for StuffItInputNode
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