pub struct ContentFile<'a> {
pub root_index: usize,
pub sequence: u64,
pub root: &'a Path,
pub absolute: &'a Path,
pub relative: &'a str,
pub bytes: u64,
}Expand description
Stable identity and discovery evidence for one selected file.
Fields§
§root_index: usizeRoot insertion index. A single-root crate::Scanner always uses zero.
sequence: u64Monotonic work sequence within this visit. Sort by root_index and
relative when results must be deterministic across runs.
root: &'a Path§absolute: &'a Path§relative: &'a str§bytes: u64Trait Implementations§
Source§impl<'a> Clone for ContentFile<'a>
impl<'a> Clone for ContentFile<'a>
Source§fn clone(&self) -> ContentFile<'a>
fn clone(&self) -> ContentFile<'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 ContentFile<'a>
Auto Trait Implementations§
impl<'a> Freeze for ContentFile<'a>
impl<'a> RefUnwindSafe for ContentFile<'a>
impl<'a> Send for ContentFile<'a>
impl<'a> Sync for ContentFile<'a>
impl<'a> Unpin for ContentFile<'a>
impl<'a> UnsafeUnpin for ContentFile<'a>
impl<'a> UnwindSafe for ContentFile<'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