pub struct DecomposeDrive {
pub nodes: Vec<PlannedNode>,
pub written: Option<Vec<PathBuf>>,
}Expand description
drive_decompose’s return: the validated nodes plus, when yes was
passed, the paths write_dag wrote (None = dry-run preview, nothing
written). The core never prints; the caller renders render_preview and
the outcome.
Fields§
§nodes: Vec<PlannedNode>§written: Option<Vec<PathBuf>>Trait Implementations§
Source§impl Clone for DecomposeDrive
impl Clone for DecomposeDrive
Source§fn clone(&self) -> DecomposeDrive
fn clone(&self) -> DecomposeDrive
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DecomposeDrive
impl RefUnwindSafe for DecomposeDrive
impl Send for DecomposeDrive
impl Sync for DecomposeDrive
impl Unpin for DecomposeDrive
impl UnsafeUnpin for DecomposeDrive
impl UnwindSafe for DecomposeDrive
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