pub struct ExprGraphEquationDisplay<'a> { /* private fields */ }Expand description
Configurable compact-equation display for an ExprGraph.
Implementations§
Source§impl<'a> ExprGraphEquationDisplay<'a>
impl<'a> ExprGraphEquationDisplay<'a>
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 ExprGraphEquationDisplay<'a>
impl<'a> RefUnwindSafe for ExprGraphEquationDisplay<'a>
impl<'a> Send for ExprGraphEquationDisplay<'a>
impl<'a> Sync for ExprGraphEquationDisplay<'a>
impl<'a> Unpin for ExprGraphEquationDisplay<'a>
impl<'a> UnsafeUnpin for ExprGraphEquationDisplay<'a>
impl<'a> UnwindSafe for ExprGraphEquationDisplay<'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