pub struct GraphRow {
pub event: Option<GitEvent>,
pub column: usize,
pub color_idx: usize,
pub cells: Vec<GraphCell>,
pub is_head: bool,
pub branch_names: Vec<String>,
}Expand description
グラフの1行分のデータ
Fields§
§event: Option<GitEvent>このコミットのイベント情報(コネクタ行の場合はNone)
column: usizeこのコミットの列位置
color_idx: usize色インデックス
cells: Vec<GraphCell>グラフセル配列(左から右への各列の描画内容)
is_head: boolHEADかどうか
branch_names: Vec<String>ブランチ名一覧
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphRow
impl RefUnwindSafe for GraphRow
impl Send for GraphRow
impl Sync for GraphRow
impl Unpin 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<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