pub struct IncludeNode {
pub working_dir: PathBuf,
pub include_file: PathBuf,
pub source_identity: Option<String>,
pub patched_identity: Option<String>,
pub flattened: String,
}
Expand description
Represents a particular include file.
Fields§
§working_dir: PathBuf
Canonical path of working directory
include_file: PathBuf
Canonical path of include file
source_identity: Option<String>
Original identity of the source (no modifications)
patched_identity: Option<String>
Modified identity of the source (flattened or Merkle replacement)
flattened: String
Resolved file contents (flattened or patched)
Implementations§
Source§impl IncludeNode
impl IncludeNode
Trait Implementations§
Source§impl Clone for IncludeNode
impl Clone for IncludeNode
Source§fn clone(&self) -> IncludeNode
fn clone(&self) -> IncludeNode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IncludeNode
impl Debug for IncludeNode
Source§impl Default for IncludeNode
impl Default for IncludeNode
Source§fn default() -> IncludeNode
fn default() -> IncludeNode
Returns the “default value” for a type. Read more
Source§impl PartialEq for IncludeNode
impl PartialEq for IncludeNode
impl Eq for IncludeNode
impl StructuralPartialEq for IncludeNode
Auto Trait Implementations§
impl Freeze for IncludeNode
impl RefUnwindSafe for IncludeNode
impl Send for IncludeNode
impl Sync for IncludeNode
impl Unpin for IncludeNode
impl UnwindSafe for IncludeNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.