pub struct InputTree {
pub path_separator: PathSeparator,
pub entries: Vec<InputEntry>,
}Available on crate features
sync and write only.Expand description
A metadata-aware tree used to create an ISO image.
Fields§
§path_separator: PathSeparatorThe path_separator field.
entries: Vec<InputEntry>The entries field.
Implementations§
Source§impl InputTree
impl InputTree
Sourcepub fn new(path_separator: PathSeparator, entries: Vec<InputEntry>) -> Self
pub fn new(path_separator: PathSeparator, entries: Vec<InputEntry>) -> Self
Performs the new operation.
Sourcepub fn from_fs(
root_path: &Path,
path_separator: PathSeparator,
) -> Result<Self, FileConversionError>
pub fn from_fs( root_path: &Path, path_separator: PathSeparator, ) -> Result<Self, FileConversionError>
Performs the from_fs operation.
Trait Implementations§
impl Eq for InputTree
Source§impl From<InputFiles> for InputTree
impl From<InputFiles> for InputTree
Source§fn from(value: InputFiles) -> Self
fn from(value: InputFiles) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for InputTree
Auto Trait Implementations§
impl !RefUnwindSafe for InputTree
impl !UnwindSafe for InputTree
impl Freeze for InputTree
impl Send for InputTree
impl Sync for InputTree
impl Unpin for InputTree
impl UnsafeUnpin for InputTree
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