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 RefUnwindSafe for BranchVis
impl Send for BranchVis
impl Sync for BranchVis
impl Unpin for BranchVis
impl UnwindSafe for BranchVis
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more