pub struct FileView {
pub path: String,
pub hunks: Vec<HunkId>,
pub counts: LineCounts,
}Fields§
§path: String§hunks: Vec<HunkId>Canonical hunks, file order.
counts: LineCountsTrait Implementations§
impl Eq for FileView
impl StructuralPartialEq for FileView
Auto Trait Implementations§
impl Freeze for FileView
impl RefUnwindSafe for FileView
impl Send for FileView
impl Sync for FileView
impl Unpin for FileView
impl UnsafeUnpin for FileView
impl UnwindSafe for FileView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.