pub enum GraphCell {
Show 14 variants
Empty,
Vertical {
color_idx: usize,
},
Node {
color_idx: usize,
},
HeadNode {
color_idx: usize,
},
MergeNode {
color_idx: usize,
},
CurveUpRight {
color_idx: usize,
},
CurveUpLeft {
color_idx: usize,
},
CurveDownRight {
color_idx: usize,
},
CurveDownLeft {
color_idx: usize,
},
Horizontal {
color_idx: usize,
},
Cross {
h_color: usize,
v_color: usize,
},
TeeRight {
color_idx: usize,
},
TeeLeft {
color_idx: usize,
},
TeeUp {
color_idx: usize,
},
}Expand description
グラフの各セルの種別
Variants§
Empty
空白
Vertical
縦線継続 │
Node
コミットノード ●
HeadNode
HEADノード ◉
MergeNode
マージノード ◆
CurveUpRight
右上カーブ ╭ (下から右へ分岐)
CurveUpLeft
左上カーブ ╮ (下から左へ分岐)
CurveDownRight
右下カーブ ╰ (上から右へマージ)
CurveDownLeft
左下カーブ ╯ (上から左へマージ)
Horizontal
横線 ─
Cross
交差 ┼
TeeRight
T字右 ├
TeeLeft
T字左 ┤
TeeUp
T字上 ┴
Implementations§
Trait Implementations§
impl Copy for GraphCell
impl Eq for GraphCell
impl StructuralPartialEq for GraphCell
Auto Trait Implementations§
impl Freeze for GraphCell
impl RefUnwindSafe for GraphCell
impl Send for GraphCell
impl Sync for GraphCell
impl Unpin for GraphCell
impl UnwindSafe for GraphCell
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more