pub struct HashCache { /* private fields */ }Expand description
Memo slots for FileDiff::content_hash/FileDiff::sides_hash, which
the UI probes every frame: hashing full file contents per frame is the
cost this avoids. Compares equal always so FileDiff equality is on data.
Trait Implementations§
impl Eq for HashCache
Auto Trait Implementations§
impl !Freeze for HashCache
impl RefUnwindSafe for HashCache
impl Send for HashCache
impl Sync for HashCache
impl Unpin for HashCache
impl UnsafeUnpin for HashCache
impl UnwindSafe for HashCache
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