pub struct DocumentPaths<'a> {
pub config_path: Option<&'a Path>,
pub source_file: Option<&'a Path>,
}Expand description
The two path roles involved in document processing.
Fields§
§config_path: Option<&'a Path>Logical path used for per-file configuration matching.
source_file: Option<&'a Path>Native path exposed to filesystem-aware rules.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for DocumentPaths<'a>
impl<'a> Clone for DocumentPaths<'a>
Source§fn clone(&self) -> DocumentPaths<'a>
fn clone(&self) -> DocumentPaths<'a>
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 moreimpl<'a> Copy for DocumentPaths<'a>
Source§impl<'a> Debug for DocumentPaths<'a>
impl<'a> Debug for DocumentPaths<'a>
Source§impl<'a> Default for DocumentPaths<'a>
impl<'a> Default for DocumentPaths<'a>
Source§fn default() -> DocumentPaths<'a>
fn default() -> DocumentPaths<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for DocumentPaths<'a>
impl<'a> RefUnwindSafe for DocumentPaths<'a>
impl<'a> Send for DocumentPaths<'a>
impl<'a> Sync for DocumentPaths<'a>
impl<'a> Unpin for DocumentPaths<'a>
impl<'a> UnsafeUnpin for DocumentPaths<'a>
impl<'a> UnwindSafe for DocumentPaths<'a>
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