pub struct ExprGraphTreeDisplay<'a> { /* private fields */ }Expand description
Configurable indented-tree display for an ExprGraph.
Implementations§
Source§impl<'a> ExprGraphTreeDisplay<'a>
impl<'a> ExprGraphTreeDisplay<'a>
Sourcepub fn repeated_subtrees(self, repeated_subtrees: RepeatedSubtrees) -> Self
pub fn repeated_subtrees(self, repeated_subtrees: RepeatedSubtrees) -> Self
Sets how nodes reached through multiple paths are rendered.
Sourcepub fn expand_repeated(self, expand: bool) -> Self
pub fn expand_repeated(self, expand: bool) -> Self
Chooses between fully expanding and referencing repeated subtrees.
Sourcepub fn with_preset(self, preset: ColorPreset) -> Self
pub fn with_preset(self, preset: ColorPreset) -> Self
Adds the style rules from a built-in color palette.
Sourcepub fn with_style_rule(self, rule: NodeStyleRule) -> Self
pub fn with_style_rule(self, rule: NodeStyleRule) -> Self
Appends a node style rule.
Later matching rules override fields set by earlier rules.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ExprGraphTreeDisplay<'a>
impl<'a> RefUnwindSafe for ExprGraphTreeDisplay<'a>
impl<'a> Send for ExprGraphTreeDisplay<'a>
impl<'a> Sync for ExprGraphTreeDisplay<'a>
impl<'a> Unpin for ExprGraphTreeDisplay<'a>
impl<'a> UnsafeUnpin for ExprGraphTreeDisplay<'a>
impl<'a> UnwindSafe for ExprGraphTreeDisplay<'a>
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