pub struct DotOptions {
pub highlight: Option<bool>,
pub bin: Option<String>,
pub inverse_gradient: bool,
pub dark_mode: bool,
}Expand description
Options for outputting the graph in DOT format.
Fields§
§highlight: Option<bool>If Some(true), highlight nodes in downward direction (dependencies) from the root.
If Some(false), highlight nodes in upward direction (reverse dependencies) to the root.
If None, do not highlight any nodes.
bin: Option<String>Name of the binary, if different from the crate name.
inverse_gradient: boolIf true, invert the gradient for coloring.
dark_mode: boolIf true, use dark mode for coloring.
Trait Implementations§
Source§impl Debug for DotOptions
impl Debug for DotOptions
Source§impl Default for DotOptions
impl Default for DotOptions
Source§fn default() -> DotOptions
fn default() -> DotOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DotOptions
impl RefUnwindSafe for DotOptions
impl Send for DotOptions
impl Sync for DotOptions
impl Unpin for DotOptions
impl UnwindSafe for DotOptions
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