pub struct GraphRowShapeStyle {
pub dash_style: DashStyle,
pub link_line_placement: LinkLinePlacement,
pub column_spacing: usize,
pub text_gap: usize,
}Expand description
Style choices that affect graph row shapes and text placement.
Fields§
§dash_style: DashStyleHow long indirect-ancestor dash lines remain in ancestor style.
link_line_placement: LinkLinePlacementWhere link-related padding lines are placed around the node line.
column_spacing: usizeRequested number of character columns between adjacent vertical lines. Box drawing uses this value directly, including zero for no gap. ASCII uses at least one; ASCII large uses at least two.
text_gap: usizeAdditional spaces between the graph prefix and message text. The prefix may already contain trailing column padding.
Trait Implementations§
Source§impl Clone for GraphRowShapeStyle
impl Clone for GraphRowShapeStyle
impl Copy for GraphRowShapeStyle
Source§impl Debug for GraphRowShapeStyle
impl Debug for GraphRowShapeStyle
Source§impl Default for GraphRowShapeStyle
impl Default for GraphRowShapeStyle
impl Eq for GraphRowShapeStyle
Source§impl PartialEq for GraphRowShapeStyle
impl PartialEq for GraphRowShapeStyle
impl StructuralPartialEq for GraphRowShapeStyle
Auto Trait Implementations§
impl Forget for GraphRowShapeStyle
impl Freeze for GraphRowShapeStyle
impl Move for GraphRowShapeStyle
impl RefUnwindSafe for GraphRowShapeStyle
impl Send for GraphRowShapeStyle
impl Sync for GraphRowShapeStyle
impl Unpin for GraphRowShapeStyle
impl UnsafeUnpin for GraphRowShapeStyle
impl UnwindSafe for GraphRowShapeStyle
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