pub struct HashedSpan {
pub lo: usize,
pub hi: usize,
pub hash: u64,
}
Expand description
A span of bytes and a hash of the content it refers.
Fields§
§lo: usize
§hi: usize
§hash: u64
Trait Implementations§
Source§impl Clone for HashedSpan
impl Clone for HashedSpan
Source§fn clone(&self) -> HashedSpan
fn clone(&self) -> HashedSpan
Returns a duplicate 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 HashedSpan
impl Debug for HashedSpan
impl Copy for HashedSpan
Auto Trait Implementations§
impl Freeze for HashedSpan
impl RefUnwindSafe for HashedSpan
impl Send for HashedSpan
impl Sync for HashedSpan
impl Unpin for HashedSpan
impl UnwindSafe for HashedSpan
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