pub struct BranchVis {
pub order_group: usize,
pub target_order_group: Option<usize>,
pub source_order_group: Option<usize>,
pub term_color: u8,
pub svg_color: String,
pub column: Option<usize>,
}
Expand description
Branch properties for visualization.
Fields§
§order_group: usize
The branch’s column group (left to right)
target_order_group: Option<usize>
The branch’s merge target column group (left to right)
source_order_group: Option<usize>
The branch’s source branch column group (left to right)
term_color: u8
The branch’s terminal color (index in 256-color palette)
svg_color: String
SVG color (name or RGB in hex annotation)
column: Option<usize>
The column the branch is located in
Auto Trait Implementations§
impl Freeze for BranchVis
impl RefUnwindSafe for BranchVis
impl Send for BranchVis
impl Sync for BranchVis
impl Unpin for BranchVis
impl UnwindSafe for BranchVis
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> 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