pub struct RevisionRow {
pub index: usize,
pub parent: usize,
pub depth: usize,
pub summary: String,
pub is_current: bool,
pub branches: bool,
}Expand description
One row of the undo-tree browser (Space u).
Fields§
§index: usize§parent: usize§depth: usizeDepth in the tree (root = 0) — the browser indents by it.
summary: StringShort description of the change, e.g. + "foo" / - "bar".
is_current: bool§branches: boolTrue when the revision’s parent isn’t depth-1 above it in display order — the browser draws a branch marker.
Trait Implementations§
Source§impl Clone for RevisionRow
impl Clone for RevisionRow
Source§fn clone(&self) -> RevisionRow
fn clone(&self) -> RevisionRow
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 moreAuto Trait Implementations§
impl Freeze for RevisionRow
impl RefUnwindSafe for RevisionRow
impl Send for RevisionRow
impl Sync for RevisionRow
impl Unpin for RevisionRow
impl UnsafeUnpin for RevisionRow
impl UnwindSafe for RevisionRow
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