pub struct TrackedRead {
pub path: FilePath,
pub hash: Option<ContentHash>,
}Expand description
One file a rule reached for while checking another.
Fields§
§path: FilePathPath relative to the project root.
hash: Option<ContentHash>Hash of what was read, or None if nothing was there.
None is a recorded answer, not a missing record. See the module documentation.
Implementations§
Source§impl TrackedRead
impl TrackedRead
Trait Implementations§
Source§impl Clone for TrackedRead
impl Clone for TrackedRead
Source§fn clone(&self) -> TrackedRead
fn clone(&self) -> TrackedRead
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 moreSource§impl Debug for TrackedRead
impl Debug for TrackedRead
impl Eq for TrackedRead
Source§impl Hash for TrackedRead
impl Hash for TrackedRead
Source§impl Ord for TrackedRead
impl Ord for TrackedRead
Source§fn cmp(&self, other: &TrackedRead) -> Ordering
fn cmp(&self, other: &TrackedRead) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TrackedRead
impl PartialEq for TrackedRead
Source§impl PartialOrd for TrackedRead
impl PartialOrd for TrackedRead
impl StructuralPartialEq for TrackedRead
Auto Trait Implementations§
impl Freeze for TrackedRead
impl RefUnwindSafe for TrackedRead
impl Send for TrackedRead
impl Sync for TrackedRead
impl Unpin for TrackedRead
impl UnsafeUnpin for TrackedRead
impl UnwindSafe for TrackedRead
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