pub struct GraphRow {
pub commit_line: String,
pub transition_line: String,
pub lane: usize,
pub parent_count: usize,
}Fields§
§commit_line: StringPrefix line: lane glyphs at the moment of this commit (e.g. “* | |”).
transition_line: StringOptional transition line shown BEFORE the next commit_line. Empty if no lane changes happen between this commit and the next.
lane: usizeLane index where the commit sits (0-based, useful for coloring).
parent_count: usizeNumber of parents (1 = normal, 2+ = merge, 0 = root).
Trait Implementations§
impl Eq for GraphRow
impl StructuralPartialEq for GraphRow
Auto Trait Implementations§
impl Freeze for GraphRow
impl RefUnwindSafe for GraphRow
impl Send for GraphRow
impl Sync for GraphRow
impl Unpin for GraphRow
impl UnsafeUnpin for GraphRow
impl UnwindSafe for GraphRow
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.