pub struct Output {
pub dir: Box<Path>,
pub created_dirs: Vec<Box<Path>>,
}Expand description
Output configuration.
Fields§
§dir: Box<Path>Output directory.
created_dirs: Vec<Box<Path>>The descending directory chain created in real time to the Output::dir.
Implementations§
Source§impl Output
impl Output
Sourcepub fn create_dirs(&mut self) -> Result<()>
pub fn create_dirs(&mut self) -> Result<()>
Creates non-exists directories in the directory chain up to Output::dir,
storing the created directories in Output::created_dirs.
Sourcepub fn remove_created_dirs(&self)
pub fn remove_created_dirs(&self)
Removes all created empty directories.
Trait Implementations§
impl StructuralPartialEq for Output
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)